[media] rc-core: Initialize return value to zero
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Nov 2010 10:46:13 +0000 (07:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:58 +0000 (08:16 -0200)
commitdea8a39fb569c23084c857ccdbf70a95ea3bf7dc
tree2aaf99ab4a4355f2b081c5574e9ac72714f6a1b6
parentb7c7a4bed8d695933ae172031556de9de30ae598
[media] rc-core: Initialize return value to zero

At ir_setkeycode, if INPUT_KEYMAP_BY_INDEX is used, the routine may return
an invalid value if not error.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/rc-main.c