]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/maps/iq80310.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6
[karo-tx-linux.git] / drivers / mtd / maps / iq80310.c
index 5b2fd3617c50f833437d0debcc1eafdc0eefc909..62d9e87d84e2863edc3690075d717d86b998ace8 100644 (file)
@@ -103,8 +103,7 @@ static void __exit cleanup_iq80310(void)
        if (mymtd) {
                del_mtd_partitions(mymtd);
                map_destroy(mymtd);
-               if (parsed_parts)
-                       kfree(parsed_parts);
+               kfree(parsed_parts);
        }
        if (iq80310_map.virt)
                iounmap((void *)iq80310_map.virt);