Input: applespi - remove set but not used variables 'sts'
authorMao Wenan <maowenan@huawei.com>
Tue, 16 Jul 2019 18:16:28 +0000 (20:16 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Jul 2019 08:58:49 +0000 (11:58 +0300)
commitd56fef0ec85b8a8bae5d7d003b93f0a0aaf82ed9
treed2b4579ecfe854d106695a2414cb5147e95363b1
parent038b1a05eae6666b731920e46f47d8e2332e07ff
Input: applespi - remove set but not used variables 'sts'

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

drivers/input/keyboard/applespi.c: In function applespi_set_bl_level:
drivers/input/keyboard/applespi.c:902:6: warning: variable sts set but not used [-Wunused-but-set-variable]

Fixes: b426ac0452093d ("Input: add Apple SPI keyboard and trackpad driver")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/applespi.c