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)
commit4f0794c0ac0898a009fbce3db647092976484ee1
tree1d5ecbddf0befc6bd4b18a6b0662baf9daf594a6
parentfd8135b6f80a4d2ea2e398fb33e38ec255037111
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