lightnvm: remove max_rq_size

The field is no longer used.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Matias Bjørling 2018-03-30 00:05:03 +02:00 committed by Jens Axboe
parent 62771fe0aa
commit af569398c3
2 changed files with 0 additions and 3 deletions

View File

@ -874,7 +874,6 @@ static int nvm_core_init(struct nvm_dev *dev)
geo->sec_size = id->csecs;
geo->oob_size = id->sos;
geo->mccap = id->mccap;
geo->max_rq_size = dev->ops->max_phys_sect * geo->sec_size;
geo->sec_per_chk = id->clba;
geo->sec_per_lun = geo->sec_per_chk * geo->nr_chks;

View File

@ -295,8 +295,6 @@ struct nvm_geo {
int ws_seq;
int ws_per_chk;
int max_rq_size;
int op;
struct nvm_addr_format ppaf;