瀏覽代碼

[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>
Mauro Carvalho Chehab 10 年之前
父節點
當前提交
7fdc5561ca
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/media/usb/em28xx/em28xx-video.c

+ 0 - 1
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;
 	}
 }