summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2018-01-05 16:16:02 +0300
committerJens Axboe <axboe@kernel.dk>2018-01-05 18:50:12 +0300
commitbb27aa9ecd1f72e68b0fa2dffeb45bee3b1cb5ca (patch)
treeb05c8dc0e9b37ebfee9d06e54e5e315ac3dd067c /include/linux
parent98281a90acc04d8a10407dabd2e397e4312b80c0 (diff)
downloadlinux-bb27aa9ecd1f72e68b0fa2dffeb45bee3b1cb5ca.tar.xz
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')
-rw-r--r--include/linux/lightnvm.h6
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 {
u32 mpos;
u32 mccap;
u16 cpar;
-
- struct nvm_id_lp_tbl lptbl;
};
struct nvm_addr_format {
@@ -313,10 +311,6 @@ struct nvm_dev {
/* Device information */
struct nvm_geo geo;
- /* lower page table */
- int lps_per_blk;
- int *lptbl;
-
unsigned long total_secs;
unsigned long *lun_map;