diff options
Diffstat (limited to 'drivers/mtd/ftl.c')
-rw-r--r-- | drivers/mtd/ftl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index e56d6b42f020..62da9eb7032b 100644 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c | |||
@@ -1082,7 +1082,6 @@ static void ftl_remove_dev(struct mtd_blktrans_dev *dev) | |||
1082 | { | 1082 | { |
1083 | del_mtd_blktrans_dev(dev); | 1083 | del_mtd_blktrans_dev(dev); |
1084 | ftl_freepart((partition_t *)dev); | 1084 | ftl_freepart((partition_t *)dev); |
1085 | kfree(dev); | ||
1086 | } | 1085 | } |
1087 | 1086 | ||
1088 | static struct mtd_blktrans_ops ftl_tr = { | 1087 | static struct mtd_blktrans_ops ftl_tr = { |