Input: samsung-keypad - remove set but unused variable 'var'
authorLee Jones <lee.jones@linaro.org>
Fri, 13 Nov 2020 07:27:03 +0000 (23:27 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 13 Nov 2020 07:44:11 +0000 (23:44 -0800)
commitf1556986babffb0dd75970cd7a0563e3e1ee387a
treecc57a0fb6c8c0b7a712cbe7c535e60022f515400
parent3a54a215410b1650798dc09d051806b1f900142d
Input: samsung-keypad - remove set but unused variable 'var'

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

 drivers/input/keyboard/samsung-keypad.c: In function ‘samsung_keypad_irq’:
 drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201112110204.2083435-3-lee.jones@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/samsung-keypad.c