diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-29 01:49:07 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-30 20:27:53 +0300 |
commit | 094af36a3a57ddfeb942fd2990f15b570430a81e (patch) | |
tree | 4da5ed454306867dee4a55b9a5f3156aad438a5c /drivers/media/platform/vivid/vivid-radio-rx.c | |
parent | b036f1cb6e268f2a8c4433c3c26cbef95642b79d (diff) | |
download | linux-094af36a3a57ddfeb942fd2990f15b570430a81e.tar.xz |
[media] zc3xx: remove dead code and uneeded gotos
As reported by smatch:
drivers/media/usb/gspca/zc3xx.c:5994 transfer_update() info: ignoring unreachable code.
That happens because there's a return that it is never called,
as the work queue runs an infinite loop, except when the device is
put to sleep or an error happens.
When an error happens, a break statement is enough to go out of
the loop. So, let's remove the goto, as break is the typical
instruction used to end a loop.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-radio-rx.c')
0 files changed, 0 insertions, 0 deletions