summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/pblk-rl.c
diff options
context:
space:
mode:
authorJavier González <javier@cnexlabs.com>2017-10-13 14:46:44 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 16:34:57 +0200
commit8bd400204bd500bb2aea7b551f7c33bad2455340 (patch)
treeb6c0ff8231986cce1da212e05fe31f3c10d4d465 /drivers/lightnvm/pblk-rl.c
parentlightnvm: pblk: remove spinlock when freeing line metadata (diff)
downloadlinux-8bd400204bd500bb2aea7b551f7c33bad2455340.tar.xz
linux-8bd400204bd500bb2aea7b551f7c33bad2455340.zip
lightnvm: pblk: cleanup unused and static functions
Cleanup up unused and static functions across the whole codebase. Signed-off-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 'drivers/lightnvm/pblk-rl.c')
-rw-r--r--drivers/lightnvm/pblk-rl.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/lightnvm/pblk-rl.c b/drivers/lightnvm/pblk-rl.c
index 739f855d4216..abae31fd434e 100644
--- a/drivers/lightnvm/pblk-rl.c
+++ b/drivers/lightnvm/pblk-rl.c
@@ -153,16 +153,6 @@ int pblk_rl_high_thrs(struct pblk_rl *rl)
return rl->high;
}
-int pblk_rl_low_thrs(struct pblk_rl *rl)
-{
- return rl->low;
-}
-
-int pblk_rl_sysfs_rate_show(struct pblk_rl *rl)
-{
- return rl->rb_user_max;
-}
-
int pblk_rl_max_io(struct pblk_rl *rl)
{
return rl->rb_max_io;