soc: sunxi: sram: remove unneeded semicolon
authorJason Yan <yanaijie@huawei.com>
Thu, 10 Sep 2020 14:05:46 +0000 (22:05 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 11 Sep 2020 15:02:39 +0000 (17:02 +0200)
Eliminate the following coccicheck warning:

drivers/soc/sunxi/sunxi_sram.c:197:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200910140546.1191280-1-yanaijie@huawei.com
drivers/soc/sunxi/sunxi_sram.c

index 1b0d50f..d4c7bd5 100644 (file)
@@ -194,7 +194,7 @@ static const struct sunxi_sram_data *sunxi_sram_of_parse(struct device_node *nod
        if (!data) {
                ret = -EINVAL;
                goto err;
-       };
+       }
 
        for (func = data->func; func->func; func++) {
                if (val == func->val) {