Commit 7fdc5561 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 2f60f13c
...@@ -839,7 +839,6 @@ static int get_ressource(enum v4l2_buf_type f_type) ...@@ -839,7 +839,6 @@ static int get_ressource(enum v4l2_buf_type f_type)
return EM28XX_RESOURCE_VBI; return EM28XX_RESOURCE_VBI;
default: default:
BUG(); BUG();
return 0;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment