Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6
[powerpc.git] / drivers / mtd / maps / ipaq-flash.c
index fbace12..35097c9 100644 (file)
@@ -431,8 +431,7 @@ static void __exit ipaq_mtd_cleanup(void)
                                if (my_sub_mtd[i])
                                        map_destroy(my_sub_mtd[i]);
                        }
-               if (parsed_parts)
-                       kfree(parsed_parts);
+               kfree(parsed_parts);
        }
 }