summaryrefslogtreecommitdiff
path: root/drivers/lightnvm/pblk.h
diff options
context:
space:
mode:
authorJavier González <jg@lightnvm.io>2017-10-24 16:56:13 +0300
committerJens Axboe <axboe@kernel.dk>2017-10-24 16:59:42 +0300
commit75bc5f06617fe1bc9a79ba9e3baccdcae3743404 (patch)
tree627bd6483be6fbaffba3c32a170b2c144aadcab7 /drivers/lightnvm/pblk.h
parent8cf466602028196b939255f1eb4e9817efd1db6d (diff)
downloadlinux-75bc5f06617fe1bc9a79ba9e3baccdcae3743404.tar.xz
lightnvm: pblk: remove leftover testing function
A previous patch inadvertently left an unused test function in the header, kill it. Fixes: 8bd400204bd5 ("lightnvm: pblk: cleanup unused and static functions") Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/pblk.h')
-rw-r--r--drivers/lightnvm/pblk.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h
index 6b64288de6f7..90961033a79f 100644
--- a/drivers/lightnvm/pblk.h
+++ b/drivers/lightnvm/pblk.h
@@ -860,11 +860,6 @@ int pblk_rl_is_limit(struct pblk_rl *rl);
int pblk_sysfs_init(struct gendisk *tdisk);
void pblk_sysfs_exit(struct gendisk *tdisk);
-static inline void test(size_t a)
-{
- a += 1;
-}
-
static inline void *pblk_malloc(size_t size, int type, gfp_t flags)
{
if (type == PBLK_KMALLOC_META)