diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-03-29 18:05:03 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-03-29 19:29:09 -0400 |
commit | af569398c390810fca773c903a85b71dfd870bb0 (patch) | |
tree | 9f679c321c93bf02269335b7465209a87be6d9d5 /drivers/lightnvm | |
parent | 62771fe0aa28b5d329f3e53a2e0f805f73433752 (diff) |
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>
Diffstat (limited to 'drivers/lightnvm')
-rw-r--r-- | drivers/lightnvm/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 521f520a1bb4..a59ad29600c3 100644 --- a/drivers/lightnvm/core.c +++ b/drivers/lightnvm/core.c | |||
@@ -874,7 +874,6 @@ static int nvm_core_init(struct nvm_dev *dev) | |||
874 | geo->sec_size = id->csecs; | 874 | geo->sec_size = id->csecs; |
875 | geo->oob_size = id->sos; | 875 | geo->oob_size = id->sos; |
876 | geo->mccap = id->mccap; | 876 | geo->mccap = id->mccap; |
877 | geo->max_rq_size = dev->ops->max_phys_sect * geo->sec_size; | ||
878 | 877 | ||
879 | geo->sec_per_chk = id->clba; | 878 | geo->sec_per_chk = id->clba; |
880 | geo->sec_per_lun = geo->sec_per_chk * geo->nr_chks; | 879 | geo->sec_per_lun = geo->sec_per_chk * geo->nr_chks; |