mtd: maps: bcm963xx-flash: remove superfluous semicolons
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 5 Dec 2011 15:08:06 +0000 (16:08 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:13:39 +0000 (18:13 +0000)
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/bcm963xx-flash.c

index bcdb6dd3f1319a5c40f7cd6f9afe64612109da59..701f4e51609aef0975a93f77bb4240fa44209e7f 100644 (file)
@@ -94,18 +94,18 @@ static int parse_cfe_partitions(struct mtd_info *master,
        if (rootfslen > 0) {
                nrparts++;
                namelen += 6;
-       };
+       }
        if (kernellen > 0) {
                nrparts++;
                namelen += 6;
-       };
+       }
 
        /* Ask kernel for more memory */
        parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL);
        if (!parts) {
                vfree(buf);
                return -ENOMEM;
-       };
+       }
 
        /* Start building partition list */
        parts[curpart].name = "CFE";
@@ -118,7 +118,7 @@ static int parse_cfe_partitions(struct mtd_info *master,
                parts[curpart].offset = kerneladdr;
                parts[curpart].size = kernellen;
                curpart++;
-       };
+       }
 
        if (rootfslen > 0) {
                parts[curpart].name = "rootfs";
@@ -127,7 +127,7 @@ static int parse_cfe_partitions(struct mtd_info *master,
                if (sparelen > 0)
                        parts[curpart].size += sparelen;
                curpart++;
-       };
+       }
 
        parts[curpart].name = "nvram";
        parts[curpart].offset = master->size - master->erasesize;