]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/maps/lubbock-flash.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6
[karo-tx-linux.git] / drivers / mtd / maps / lubbock-flash.c
index 10f681f39c96292bfb224db69de6098234f99baf..1aa0447c5e66a2430ec9dd42bf5b86fba8549f16 100644 (file)
@@ -158,8 +158,7 @@ static void __exit cleanup_lubbock(void)
                if (lubbock_maps[i].cached)
                        iounmap(lubbock_maps[i].cached);
 
-               if (parsed_parts[i])
-                       kfree(parsed_parts[i]);
+               kfree(parsed_parts[i]);
        }
 }