[PATCH] input: imx_keypad: remove unused variable

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 12 02:59:10 PDT 2014


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/input/imx_keypad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/imx_keypad.c b/drivers/input/imx_keypad.c
index afe93c3..f220d85 100644
--- a/drivers/input/imx_keypad.c
+++ b/drivers/input/imx_keypad.c
@@ -390,7 +390,7 @@ static int __init imx_keypad_probe(struct device_d *dev)
 	struct imx_keypad *keypad;
 	const struct matrix_keymap_data *keymap_data = dev->platform_data;
 	struct console_device *cdev;
-	int error, i;
+	int i;
 
 	if (!keymap_data) {
 		pr_err("no keymap defined\n");
-- 
2.1.0




More information about the barebox mailing list