aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/ceiva.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/ceiva.c')
-rw-r--r--drivers/mtd/maps/ceiva.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/maps/ceiva.c b/drivers/mtd/maps/ceiva.c
index c68b31dc7e6d..5a95ab370a97 100644
--- a/drivers/mtd/maps/ceiva.c
+++ b/drivers/mtd/maps/ceiva.c
@@ -313,8 +313,7 @@ static void __init clps_locate_partitions(struct mtd_info *mtd)
313 313
314static void __exit clps_destroy_partitions(void) 314static void __exit clps_destroy_partitions(void)
315{ 315{
316 if (parsed_parts) 316 kfree(parsed_parts);
317 kfree(parsed_parts);
318} 317}
319 318
320static struct mtd_info *mymtd; 319static struct mtd_info *mymtd;