summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/block/null_blk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/null_blk.c b/drivers/block/null_blk.c
index 647213525549..3b5cabe374d2 100644
--- a/drivers/block/null_blk.c
+++ b/drivers/block/null_blk.c
@@ -1909,7 +1909,6 @@ out_cleanup_queues:
out_free_nullb:
kfree(nullb);
out:
- null_free_dev(dev);
return rv;
}