linux-mips
[Top] [All Lists]

[PATCH 2/7] MTD: MAPS: bcm963xx-flash: remove superfluous semicolons

To: linux-mtd@lists.infradead.org
Subject: [PATCH 2/7] MTD: MAPS: bcm963xx-flash: remove superfluous semicolons
From: Jonas Gorski <jonas.gorski@gmail.com>
Date: Mon, 5 Dec 2011 16:08:06 +0100
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>, Florian Fainelli <florian@openwrt.org>, David Woodhouse <dwmw2@infradead.org>, Artem Bityutskiy <Artem.Bityutskiy@intel.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=KwMUBMJre1a38LIrNZA0okTyRZ+Oiyv0U1tVcOv8rxg=; b=lr2Qz5Pc7uh6l81Kekq1GkYnPrxj8sef6xeNs2ah1XlhSI34IFyS2CgJEpYGsNNgbm afzYxqWu2GSyWwZF9mphyio6N5xOm3nKuREYZtPnnk6tsTompqDgwtUfjTnuRMi6M/fc GjkWqdpv33SbLxBUSG5tvsSLR4ZTCPOyHymL0=
In-reply-to: <1323097691-16414-1-git-send-email-jonas.gorski@gmail.com>
References: <1323097691-16414-1-git-send-email-jonas.gorski@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.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 b908d92..58cbaf2 100644
--- a/drivers/mtd/maps/bcm963xx-flash.c
+++ b/drivers/mtd/maps/bcm963xx-flash.c
@@ -93,18 +93,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";
@@ -117,7 +117,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";
@@ -126,7 +126,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;
-- 
1.7.2.5


<Prev in Thread] Current Thread [Next in Thread>