Skip to contentSkip to conversation

watchdog: riowd: remove unneeded semicolon

PATCH In review Jason Yan 2 participants 2 messages Apr 28, 2020 Watchdog device drivers

lore
Share & tools
lore

Jason Yan

author
#0 lore raw

PATCH 1/1 watchdog: riowd: remove unneeded semicolon

Fix the following coccicheck warning:

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

---
 drivers/watchdog/riowd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/riowd.c +1 -1
index dc3c06a92f93..1b9a6dc8f982 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jason Yan

Fix the following coccicheck warning:

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

Quoted 18 lines
---
 drivers/watchdog/riowd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/watchdog/riowd.c +1 -1
index dc3c06a92f93..1b9a6dc8f982 100644
@@ -141,7 +141,7 @@ static long riowd_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
 
 	default:
 		return -EINVAL;
-	};
+	}
 
 	return 0;
 }