]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cros_ec_keyb - remove redundant variable num_cols
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Jul 2018 15:53:42 +0000 (15:53 +0000)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jul 2018 16:08:12 +0000 (16:08 +0000)
commita9f092183b1f6697fa086398c1ad67723c48186f
tree1d5ecbddf0befc6bd4b18a6b0662baf9daf594a6
parentca36cb06354d0189c9c31982bda9168da3842f98
Input: cros_ec_keyb - remove redundant variable num_cols

Variable num_cols is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable ‘num_cols’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/cros_ec_keyb.c