Input: tca8418 - remove set but not used variable 'max_keys'
authorYueHaibing <yuehaibing@huawei.com>
Sun, 26 May 2019 16:19:02 +0000 (09:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 May 2019 02:01:42 +0000 (19:01 -0700)
commitb02f6b6b711b13f609e73ebb01b516cf080d9a0f
tree45d5a17aa3917640402daf87ef522d99865bf4b3
parentb89a9f2f709a6ebeafb31069d87a1248022fc396
Input: tca8418 - remove set but not used variable 'max_keys'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/input/keyboard/tca8418_keypad.c: In function tca8418_keypad_probe:
drivers/input/keyboard/tca8418_keypad.c:269:24: warning: variable max_keys set but not used [-Wunused-but-set-variable]

It's not used since commit 16ff7cb1848a ("Input:
tca8418-keypad - switch to using managed resources")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca8418_keypad.c