diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-05 08:03:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-06-05 08:03:01 -0300 |
commit | 7fdc5561ca705dbecdabbcc33165c73330e4d13b (patch) | |
tree | b6fe890b400f09acaca2a56799af28d7cb95a4f7 /drivers/media/usb/em28xx/em28xx-video.c | |
parent | 2f60f13c14b45b311843d2ca09b5e3ef94c16f71 (diff) | |
download | linux-7fdc5561ca705dbecdabbcc33165c73330e4d13b.tar.gz linux-7fdc5561ca705dbecdabbcc33165c73330e4d13b.tar.xz |
[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/media/usb/em28xx/em28xx-video.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-video.c | 1 |
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; } } |