[PATCH v3 0/5] (Set 2/2) Rid W=1 issues from Input

From: Lee Jones
Date: Thu Jan 14 2021 - 10:24:15 EST


This set is part of a larger effort attempting to clean-up W=1
kernel builds, which are currently overwhelmingly riddled with
niggly little warnings.

This is the second (and last) of 2 sets.

v3:
- Make use of 'ret' instead of removing it
- Use __always_unused instead of removing unused variables
- Fix recent/new warning regarding undocumented 'prop' param

v2:
- Replace empty if() with commentary
- Suggested-by: Joe Perches


Lee Jones (5):
input: mouse: synaptics: Replace NOOP with suitable commentary
input: touchscreen: melfas_mip4: Mark a bunch of variables as
__always_unused
input: touchscreen: usbtouchscreen: Actually check return value of
usb_submit_urb()
input: touchscreen: surface3_spi: Remove set but unused variable
'timestamp'
input: touchscreen: stmpe-ts: Add description for 'prop' struct member

drivers/input/mouse/synaptics.c | 7 +++++--
drivers/input/touchscreen/melfas_mip4.c | 8 ++++----
drivers/input/touchscreen/stmpe-ts.c | 1 +
drivers/input/touchscreen/surface3_spi.c | 2 --
drivers/input/touchscreen/usbtouchscreen.c | 3 +++
5 files changed, 13 insertions(+), 8 deletions(-)

Cc: Alexandre Torgue <alexandre.torgue@xxxxxx>
Cc: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxx>
Cc: Bruce Kalk <kall@xxxxxxxxxxx>
Cc: "C. Scott Ananian" <cananian@xxxxxxxxxxxxxxxxxxx>
Cc: Daniel Ritz <daniel.ritz@xxxxxx>
Cc: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
Cc: Henrik Rydberg <rydberg@xxxxxxxxxxx>
Cc: James Hilliard <james.hilliard1@xxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-input@xxxxxxxxxxxxxxx
Cc: linux-stm32@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Luotao Fu <l.fu@xxxxxxxxxxxxxx>
Cc: Maxime Coquelin <mcoquelin.stm32@xxxxxxxxx>
Cc: Peter Osterlund <petero2@xxxxxxxxx>
Cc: Sangwon Jee <jeesw@xxxxxxxxxx>
Cc: Stefan Gmeiner <riddlebox@xxxxxxxxxxx>
Cc: Stefan Riedmueller <s.riedmueller@xxxxxxxxx>
Cc: this to <linux-input@xxxxxxxxxxxxxxx>
--
2.25.1