diff mbox series

Input: zinitix: fix semicolon.cocci warnings

Message ID 20210115094012.32773-1-vulab@iscas.ac.cn
State New
Headers show
Series Input: zinitix: fix semicolon.cocci warnings | expand

Commit Message

Xu Wang Jan. 15, 2021, 9:40 a.m. UTC
drivers/input/touchscreen/zinitix.c:164:31-32: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
---
 drivers/input/touchscreen/zinitix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/zinitix.c b/drivers/input/touchscreen/zinitix.c
index a3e3adbabc67..f64d88170fac 100644
--- a/drivers/input/touchscreen/zinitix.c
+++ b/drivers/input/touchscreen/zinitix.c
@@ -161,7 +161,7 @@  static int zinitix_read_data(struct i2c_client *client,
 
 	ret = i2c_master_recv(client, (u8 *)values, length);
 	if (ret != length)
-		return ret < 0 ? ret : -EIO; ;
+		return ret < 0 ? ret : -EIO;
 
 	return 0;
 }