Merge branch 'master'
[powerpc.git] / drivers / mtd / maps / ceiva.c
index c68b31d..5a95ab3 100644 (file)
@@ -313,8 +313,7 @@ static void __init clps_locate_partitions(struct mtd_info *mtd)
 
 static void __exit clps_destroy_partitions(void)
 {
-       if (parsed_parts)
-               kfree(parsed_parts);
+       kfree(parsed_parts);
 }
 
 static struct mtd_info *mymtd;