EDAC/aspeed: Remove unneeded semicolon
authorXu Wang <vulab@iscas.ac.cn>
Wed, 18 Dec 2019 06:00:06 +0000 (06:00 +0000)
committerBorislav Petkov <bp@suse.de>
Thu, 19 Dec 2019 06:27:09 +0000 (07:27 +0100)
Remove unneeded semicolon reported by coccinelle.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Cc: James Morse <james.morse@arm.com>
Cc: Joel Stanley <joel@jms.id.au>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-aspeed@lists.ozlabs.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Robert Richter <rrichter@marvell.com>
Cc: Stefan Schaeckeler <sschaeck@cisco.com>
Cc: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/1576648806-1114-1-git-send-email-vulab@iscas.ac.cn
drivers/edac/aspeed_edac.c

index 09a9e3de95951e55bea7ad8446ecc76208927768..b194658b8b5c9fd4d235c1ec65f13980ac4f511f 100644 (file)
@@ -243,7 +243,7 @@ static int init_csrows(struct mem_ctl_info *mci)
        if (!np) {
                dev_err(mci->pdev, "dt: missing /memory node\n");
                return -ENODEV;
-       };
+       }
 
        rc = of_address_to_resource(np, 0, &r);
 
@@ -252,7 +252,7 @@ static int init_csrows(struct mem_ctl_info *mci)
        if (rc) {
                dev_err(mci->pdev, "dt: failed requesting resource for /memory node\n");
                return rc;
-       };
+       }
 
        dev_dbg(mci->pdev, "dt: /memory node resources: first page r.start=0x%x, resource_size=0x%x, PAGE_SHIFT macro=0x%x\n",
                r.start, resource_size(&r), PAGE_SHIFT);