diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/rc/rc-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 6bdd0d3c02e8..72be8a02118c 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, | |||
325 | struct rc_map *rc_map = &rdev->rc_map; | 325 | struct rc_map *rc_map = &rdev->rc_map; |
326 | unsigned int index; | 326 | unsigned int index; |
327 | unsigned int scancode; | 327 | unsigned int scancode; |
328 | int retval; | 328 | int retval = 0; |
329 | unsigned long flags; | 329 | unsigned long flags; |
330 | 330 | ||
331 | spin_lock_irqsave(&rc_map->lock, flags); | 331 | spin_lock_irqsave(&rc_map->lock, flags); |