Skip to content

Commit

Permalink
Input: zinitix - remove unneeded semicolon
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yang Li authored and Dmitry Torokhov committed Feb 16, 2021
1 parent 7a6a53b commit a374c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/zinitix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a374c19

Please sign in to comment.