aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2020-10-19 10:53:42 -0700
committerWim Van Sebroeck <[email protected]>2020-12-13 16:17:41 +0100
commit9747f12b5be9f55bfba72a82b619355cd861bdfe (patch)
tree3e053f63da9fe42a40a7c363ef1cdc9df5519bf3
parent8711071e9700b67045fe5518161d63f7a03e3c9e (diff)
watchdog: geodewdt: remove unneeded break
A break is not needed if it is preceded by a return Signed-off-by: Tom Rix <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
-rw-r--r--drivers/watchdog/geodewdt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/watchdog/geodewdt.c b/drivers/watchdog/geodewdt.c
index 83418924e30a..0b699c783d57 100644
--- a/drivers/watchdog/geodewdt.c
+++ b/drivers/watchdog/geodewdt.c
@@ -150,8 +150,6 @@ static long geodewdt_ioctl(struct file *file, unsigned int cmd,
case WDIOC_GETSUPPORT:
return copy_to_user(argp, &ident,
sizeof(ident)) ? -EFAULT : 0;
- break;
-
case WDIOC_GETSTATUS:
case WDIOC_GETBOOTSTATUS:
return put_user(0, p);