forked from Minki/linux
[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>
This commit is contained in:
parent
2f60f13c14
commit
7fdc5561ca
@ -839,7 +839,6 @@ static int get_ressource(enum v4l2_buf_type f_type)
|
||||
return EM28XX_RESOURCE_VBI;
|
||||
default:
|
||||
BUG();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user