OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a6a53b
)
Input: zinitix - remove unneeded semicolon
author
Yang Li
<yang.lee@linux.alibaba.com>
Fri, 5 Feb 2021 19:50:52 +0000
(11:50 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 16 Feb 2021 21:05:54 +0000
(13:05 -0800)
Eliminate the following coccicheck warning:
./drivers/input/touchscreen/zinitix.c:164:31-32: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link:
https://lore.kernel.org/r/1612319443-115831-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/zinitix.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/zinitix.c
b/drivers/input/touchscreen/zinitix.c
index
a3e3adb
..
f64d881
100644
(file)
--- 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;
}