diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-26 19:19:02 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-05-28 05:01:42 +0300 |
commit | b02f6b6b711b13f609e73ebb01b516cf080d9a0f (patch) | |
tree | 45d5a17aa3917640402daf87ef522d99865bf4b3 /drivers/input/keyboard/gpio_keys_polled.c | |
parent | b89a9f2f709a6ebeafb31069d87a1248022fc396 (diff) | |
download | linux-b02f6b6b711b13f609e73ebb01b516cf080d9a0f.tar.xz |
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>
Diffstat (limited to 'drivers/input/keyboard/gpio_keys_polled.c')
0 files changed, 0 insertions, 0 deletions