Input: omap-keypad - fix build warning
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 15 Apr 2008 05:31:33 +0000 (01:31 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 15 Apr 2008 05:31:33 +0000 (01:31 -0400)
commitda3e4c885e5ebbccc8181f53d8ae74c4c22d506f
tree3e66f53b367b8cc2bd0f4a7f271dd16aee25e6ab
parent1164ec1ae43770db6ea5450c6cac0761b11d6d1d
Input: omap-keypad - fix build warning

Fix the following build warning:

drivers/input/keyboard/omap-keypad.c: In function 'omap_kp_probe':
drivers/input/keyboard/omap-keypad.c:418: warning: 'row_idx' is used uninitialized in this function
drivers/input/keyboard/omap-keypad.c:421: warning: 'col_idx' is used uninitialized in this function

These variables are useful when cpu_is_omap24xx(), and otherwise just
for useless cleanup.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/omap-keypad.c