lightnvm: pblk: remove leftover testing function
A previous patch inadvertently left an unused test function in the
header, kill it.
Fixes: 8bd400204b ("lightnvm: pblk: cleanup unused and static functions")
Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
committed by
Jens Axboe
parent
8cf4666020
commit
75bc5f0661
@@ -860,11 +860,6 @@ int pblk_rl_is_limit(struct pblk_rl *rl);
|
|||||||
int pblk_sysfs_init(struct gendisk *tdisk);
|
int pblk_sysfs_init(struct gendisk *tdisk);
|
||||||
void pblk_sysfs_exit(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)
|
static inline void *pblk_malloc(size_t size, int type, gfp_t flags)
|
||||||
{
|
{
|
||||||
if (type == PBLK_KMALLOC_META)
|
if (type == PBLK_KMALLOC_META)
|
||||||
|
|||||||
Reference in New Issue
Block a user