This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] em28xx: remove dead code
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Fri Jun 5 08:03:01 2015 -0300

As reported by smatch:
        drivers/media/usb/em28xx/em28xx-video.c:842 get_ressource() info: 
ignoring unreachable code.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/usb/em28xx/em28xx-video.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=7fdc5561ca705dbecdabbcc33165c73330e4d13b

diff --git a/drivers/media/usb/em28xx/em28xx-video.c 
b/drivers/media/usb/em28xx/em28xx-video.c
index 14eba9c..4397ce5 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;
        }
 }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to