watchdog: riowd: remove unneeded semicolon
PATCH 1/1 watchdog: riowd: remove unneeded semicolon
Fix the following coccicheck warning:
drivers/watchdog/riowd.c:144:2-3: Unneeded semicolon
Signed-off-by Jason Yan <[email protected]>
--- drivers/watchdog/riowd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/riowd.c +1 -1
@@ -141,7 +141,7 @@ static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)default :return -EINVAL ; - }; + }return 0 ; }
Signature · 1 line
2.21.1
Quoted 5 lines · Jason Yan
Fix the following coccicheck warning:
drivers/watchdog/riowd.c:144:2-3: Unneeded semicolon
Signed-off-by Jason Yan <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>
Quoted 18 lines
--- drivers/watchdog/riowd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/watchdog/riowd.c +1
-1@@ -141,7 +141,7 @@ static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)default :return -EINVAL ; - }; + }return 0 ; }