diff options
-rw-r--r-- | drivers/mtd/onenand/onenand_sim.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_sim.c b/drivers/mtd/onenand/onenand_sim.c index d5b4888b4655..d64200b7c94b 100644 --- a/drivers/mtd/onenand/onenand_sim.c +++ b/drivers/mtd/onenand/onenand_sim.c | |||
@@ -425,7 +425,6 @@ static void flash_exit(struct onenand_flash *flash) | |||
425 | { | 425 | { |
426 | vfree(ONENAND_CORE(flash)); | 426 | vfree(ONENAND_CORE(flash)); |
427 | kfree(flash->base); | 427 | kfree(flash->base); |
428 | kfree(flash); | ||
429 | } | 428 | } |
430 | 429 | ||
431 | static int __init onenand_sim_init(void) | 430 | static int __init onenand_sim_init(void) |