diff options
author | Matias Bjørling <m@bjorling.me> | 2016-07-07 09:54:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-07-07 08:51:52 -0600 |
commit | 8c39eddbf2842861f6c7412bd498c9d880b1c9e8 (patch) | |
tree | 41652e6fd505281046fa5821163a65d719900002 /drivers/lightnvm/rrpc.h | |
parent | 5cd907853d5b777c11ecbc8de4482ea5f51663bc (diff) | |
download | linux-8c39eddbf2842861f6c7412bd498c9d880b1c9e8.tar.gz linux-8c39eddbf2842861f6c7412bd498c9d880b1c9e8.tar.bz2 linux-8c39eddbf2842861f6c7412bd498c9d880b1c9e8.zip |
lightnvm: remove unused lists from struct rrpc_block
The ->list, ->open_list, and ->closed_list lists were previously used
for statistics. However, their usage have been removed, and thus these
can safely be removed.
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/rrpc.h')
-rw-r--r-- | drivers/lightnvm/rrpc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/lightnvm/rrpc.h b/drivers/lightnvm/rrpc.h index 5797343c1b13..448e39a9c515 100644 --- a/drivers/lightnvm/rrpc.h +++ b/drivers/lightnvm/rrpc.h @@ -56,7 +56,6 @@ struct rrpc_block { struct nvm_block *parent; struct rrpc_lun *rlun; struct list_head prio; - struct list_head list; #define MAX_INVALID_PAGES_STORAGE 8 /* Bitmap for invalid page intries */ @@ -77,13 +76,6 @@ struct rrpc_lun { struct rrpc_block *blocks; /* Reference to block allocation */ struct list_head prio_list; /* Blocks that may be GC'ed */ - struct list_head open_list; /* In-use open blocks. These are blocks - * that can be both written to and read - * from - */ - struct list_head closed_list; /* In-use closed blocks. These are - * blocks that can _only_ be read from - */ struct work_struct ws_gc; |