mtd: maps: bcm963xx-flash: remove superfluous semicolons

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Jan 9 13:59:06 EST 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6ae9c1c82a6ed0858b2fb1c03f11b19194788a31
Commit:     6ae9c1c82a6ed0858b2fb1c03f11b19194788a31
Parent:     35096cb54be6ff3a366e28492d4cbf21ffe3efdd
Author:     Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Mon Dec 5 16:08:06 2011 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Jan 9 18:13:39 2012 +0000

    mtd: maps: bcm963xx-flash: remove superfluous semicolons
    
    Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
    Acked-by: Florian Fainelli <florian at openwrt.org>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/bcm963xx-flash.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/mtd/maps/bcm963xx-flash.c b/drivers/mtd/maps/bcm963xx-flash.c
index bcdb6dd..701f4e5 100644
--- a/drivers/mtd/maps/bcm963xx-flash.c
+++ b/drivers/mtd/maps/bcm963xx-flash.c
@@ -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;



More information about the linux-mtd-cvs mailing list