watchdog: riowd: remove unneeded semicolon
authorJason Yan <yanaijie@huawei.com>
Tue, 28 Apr 2020 06:33:33 +0000 (14:33 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 25 May 2020 06:55:46 +0000 (08:55 +0200)
Fix the following coccicheck warning:

drivers/watchdog/riowd.c:144:2-3: Unneeded semicolon

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200428063333.2743-1-yanaijie@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/riowd.c

index dc3c06a92f934357be8cdde34678a148053bdac2..1b9a6dc8f9828089089ac4e534ea1be19c81b5b6 100644 (file)
@@ -141,7 +141,7 @@ static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 
        default:
                return -EINVAL;
-       };
+       }
 
        return 0;
 }