summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-05 08:03:01 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-05 08:03:01 -0300
commit7fdc5561ca705dbecdabbcc33165c73330e4d13b (patch)
treeb6fe890b400f09acaca2a56799af28d7cb95a4f7 /drivers
parent2f60f13c14b45b311843d2ca09b5e3ef94c16f71 (diff)
[media] em28xx: remove dead code
As reported by smatch: drivers/media/usb/em28xx/em28xx-video.c:842 get_ressource() info: ignoring unreachable code. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/usb/em28xx/em28xx-video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c
index 14eba9c65de3..4397ce5e78df 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -839,7 +839,6 @@ static int get_ressource(enum v4l2_buf_type f_type)
return EM28XX_RESOURCE_VBI;
default:
BUG();
- return 0;
}
}