mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
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:
parent
62771fe0aa
commit
af569398c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user