summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/rc-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/rc/rc-main.c')
-rw-r--r--drivers/media/rc/rc-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 6bdd0d3c02e..72be8a02118 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -325,7 +325,7 @@ static int ir_setkeycode(struct input_dev *idev,
struct rc_map *rc_map = &rdev->rc_map;
unsigned int index;
unsigned int scancode;
- int retval;
+ int retval = 0;
unsigned long flags;
spin_lock_irqsave(&rc_map->lock, flags);