diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-01-19 18:19:04 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-01-19 19:03:14 -0800 |
commit | 33f93726b7b28f0206e2dfbfa98b54f4415a47ad (patch) | |
tree | 29f9ba1fc8180162f40ae3d679c714cc141b9120 /drivers/input/touchscreen/surface3_spi.c | |
parent | 7c0c38402a61db1141dd5a2ae2f44d4cdc17a23a (diff) |
Input: usbtouchscreen - actually check return value of usb_submit_urb()
Fixes the following W=1 kernel build warning(s):
drivers/input/touchscreen/usbtouchscreen.c: In function ‘nexio_read_data’:
drivers/input/touchscreen/usbtouchscreen.c:1052:50: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210114152323.2382283-4-lee.jones@linaro.org
[dtor: log error code as well]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/surface3_spi.c')
0 files changed, 0 insertions, 0 deletions