Commit 6ae9c1c8 authored by Jonas Gorski's avatar Jonas Gorski Committed by David Woodhouse

mtd: maps: bcm963xx-flash: remove superfluous semicolons

Signed-off-by: default avatarJonas Gorski <jonas.gorski@gmail.com>
Acked-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 35096cb5
...@@ -94,18 +94,18 @@ static int parse_cfe_partitions(struct mtd_info *master, ...@@ -94,18 +94,18 @@ static int parse_cfe_partitions(struct mtd_info *master,
if (rootfslen > 0) { if (rootfslen > 0) {
nrparts++; nrparts++;
namelen += 6; namelen += 6;
}; }
if (kernellen > 0) { if (kernellen > 0) {
nrparts++; nrparts++;
namelen += 6; namelen += 6;
}; }
/* Ask kernel for more memory */ /* Ask kernel for more memory */
parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL);
if (!parts) { if (!parts) {
vfree(buf); vfree(buf);
return -ENOMEM; return -ENOMEM;
}; }
/* Start building partition list */ /* Start building partition list */
parts[curpart].name = "CFE"; parts[curpart].name = "CFE";
...@@ -118,7 +118,7 @@ static int parse_cfe_partitions(struct mtd_info *master, ...@@ -118,7 +118,7 @@ static int parse_cfe_partitions(struct mtd_info *master,
parts[curpart].offset = kerneladdr; parts[curpart].offset = kerneladdr;
parts[curpart].size = kernellen; parts[curpart].size = kernellen;
curpart++; curpart++;
}; }
if (rootfslen > 0) { if (rootfslen > 0) {
parts[curpart].name = "rootfs"; parts[curpart].name = "rootfs";
...@@ -127,7 +127,7 @@ static int parse_cfe_partitions(struct mtd_info *master, ...@@ -127,7 +127,7 @@ static int parse_cfe_partitions(struct mtd_info *master,
if (sparelen > 0) if (sparelen > 0)
parts[curpart].size += sparelen; parts[curpart].size += sparelen;
curpart++; curpart++;
}; }
parts[curpart].name = "nvram"; parts[curpart].name = "nvram";
parts[curpart].offset = master->size - master->erasesize; parts[curpart].offset = master->size - master->erasesize;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment