Re: [PATCH] Input: cros_ec_keyb: remove redundant variable num_cols

2018-07-04 Thread Dmitry Torokhov
On Mon, Jul 02, 2018 at 05:28:41PM +0100, Colin King wrote: > From: Colin Ian King > > 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] > > S

[PATCH] Input: cros_ec_keyb: remove redundant variable num_cols

2018-07-02 Thread Colin King
From: Colin Ian King 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 --- drivers/input/keyboard/cros_ec_keyb.c | 3 -