Skip to content

Commit

Permalink
lightnvm: pblk: remove leftover testing function
Browse files Browse the repository at this point in the history
A previous patch inadvertently left an unused test function in the
header, kill it.

Fixes: 8bd4002 ("lightnvm: pblk: cleanup unused and static functions")
Signed-off-by: Javier González <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Javier González authored and axboe committed Oct 24, 2017
1 parent 8cf4666 commit 75bc5f0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/lightnvm/pblk.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 75bc5f0

Please sign in to comment.