OSDN Git Service

i2c: sh_mobile: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Sat, 8 Jan 2022 05:41:09 +0000 (13:41 +0800)
committerWolfram Sang <wsa@kernel.org>
Tue, 11 Jan 2022 20:11:24 +0000 (21:11 +0100)
Eliminate the following coccicheck warning:
./drivers/i2c/busses/i2c-sh_mobile.c:849:3-4: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-sh_mobile.c

index 9754849..72f024a 100644 (file)
@@ -846,7 +846,7 @@ static int sh_mobile_i2c_hook_irqs(struct platform_device *dev, struct sh_mobile
                                return ret;
                        }
                        k++;
-               };
+               }
        } else {
                struct resource *res;
                resource_size_t n;