Re: [PATCH 2/5] input: touchscreen: melfas_mip4: Mark a bunch of variables as __always_unused

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2021-01-20 02:19:57
Also in
lkml
Reply to
Lee Jones, 2021-01-14
On Thu, Jan 14, 2021 at 03:23:20PM +0000, Lee Jones wrote:
Dmitry requested to keep these around for the purposes of documentation.

Fixes the following W=1 kernel build warning(s):

 drivers/input/touchscreen/melfas_mip4.c: In function ‘mip4_report_touch’:
 drivers/input/touchscreen/melfas_mip4.c:474:5: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
 drivers/input/touchscreen/melfas_mip4.c:472:5: warning: variable ‘pressure_stage’ set but not used [-Wunused-but-set-variable]
 drivers/input/touchscreen/melfas_mip4.c:469:7: warning: variable ‘palm’ set but not used [-Wunused-but-set-variable]
 drivers/input/touchscreen/melfas_mip4.c:468:7: warning: variable ‘hover’ set but not used [-Wunused-but-set-variable]

Cc: Sangwon Jee <redacted>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Henrik Rydberg <rydberg@bitmath.org>
Cc: <redacted>
Signed-off-by: Lee Jones <redacted>
Applied, thank you.

-- 
Dmitry
Thread (11 messages) 11 messages, 3 authors, last reply 2021-01-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help