Commit af569398 authored by Matias Bjørling's avatar Matias Bjørling Committed by Jens Axboe

lightnvm: remove max_rq_size

The field is no longer used.
Signed-off-by: default avatarMatias Bjørling <mb@lightnvm.io>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 62771fe0
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment