* [PATCH] watchdog: riowd: remove unneeded semicolon
@ 2020-04-28 6:33 Jason Yan
2020-04-28 13:12 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-28 6:33 UTC (permalink / raw)
To: wim, linux, linux-watchdog, linux-kernel; +Cc: Jason Yan
Fix the following coccicheck warning:
drivers/watchdog/riowd.c:144:2-3: Unneeded semicolon
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
drivers/watchdog/riowd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
index dc3c06a92f93..1b9a6dc8f982 100644
--- a/drivers/watchdog/riowd.c
+++ b/drivers/watchdog/riowd.c
@@ -141,7 +141,7 @@ static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
default:
return -EINVAL;
- };
+ }
return 0;
}
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] watchdog: riowd: remove unneeded semicolon
2020-04-28 6:33 [PATCH] watchdog: riowd: remove unneeded semicolon Jason Yan
@ 2020-04-28 13:12 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2020-04-28 13:12 UTC (permalink / raw)
To: Jason Yan, wim, linux-watchdog, linux-kernel
On 4/27/20 11:33 PM, Jason Yan wrote:
> 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>
> ---
> drivers/watchdog/riowd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c
> index dc3c06a92f93..1b9a6dc8f982 100644
> --- a/drivers/watchdog/riowd.c
> +++ b/drivers/watchdog/riowd.c
> @@ -141,7 +141,7 @@ static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
>
> default:
> return -EINVAL;
> - };
> + }
>
> return 0;
> }
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-28 13:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 6:33 [PATCH] watchdog: riowd: remove unneeded semicolon Jason Yan
2020-04-28 13:12 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).