diff options
author | Matias Bjørling <m@bjorling.me> | 2018-01-05 08:16:02 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-01-05 10:50:12 -0500 |
commit | bb27aa9ecd1f72e68b0fa2dffeb45bee3b1cb5ca (patch) | |
tree | b05c8dc0e9b37ebfee9d06e54e5e315ac3dd067c /include/linux/lightnvm.h | |
parent | 98281a90acc04d8a10407dabd2e397e4312b80c0 (diff) |
lightnvm: remove lower page tables
The lower page table is unused. All page tables reported by 1.2
devices are all reporting a sequential 1:1 page mapping. This is
also not used going forward with the 2.0 revision.
Signed-off-by: Matias Bjørling <m@bjorling.me>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/lightnvm.h')
-rw-r--r-- | include/linux/lightnvm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index 07cdb05a9a87..a5d8e0cbbb46 100644 --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h | |||
@@ -174,8 +174,6 @@ struct nvm_id_group { | |||
174 | u32 mpos; | 174 | u32 mpos; |
175 | u32 mccap; | 175 | u32 mccap; |
176 | u16 cpar; | 176 | u16 cpar; |
177 | |||
178 | struct nvm_id_lp_tbl lptbl; | ||
179 | }; | 177 | }; |
180 | 178 | ||
181 | struct nvm_addr_format { | 179 | struct nvm_addr_format { |
@@ -313,10 +311,6 @@ struct nvm_dev { | |||
313 | /* Device information */ | 311 | /* Device information */ |
314 | struct nvm_geo geo; | 312 | struct nvm_geo geo; |
315 | 313 | ||
316 | /* lower page table */ | ||
317 | int lps_per_blk; | ||
318 | int *lptbl; | ||
319 | |||
320 | unsigned long total_secs; | 314 | unsigned long total_secs; |
321 | 315 | ||
322 | unsigned long *lun_map; | 316 | unsigned long *lun_map; |