]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/mtd/maps/ixp2000.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6
[karo-tx-linux.git] / drivers / mtd / maps / ixp2000.c
index aa29a4a741bf7ac2d1a6b24b947743db89c7f8d6..641eb2b55e9f4733b6cbc1d8ad8ef8e21e05b962 100644 (file)
@@ -129,8 +129,7 @@ static int ixp2000_flash_remove(struct device *_dev)
        if (info->map.map_priv_1)
                iounmap((void *) info->map.map_priv_1);
 
-       if (info->partitions) {
-               kfree(info->partitions); }
+       kfree(info->partitions);
 
        if (info->res) {
                release_resource(info->res);