diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2015-04-28 19:49:07 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-04-30 14:27:53 -0300 |
| commit | 094af36a3a57ddfeb942fd2990f15b570430a81e (patch) | |
| tree | 4da5ed454306867dee4a55b9a5f3156aad438a5c /tools/perf/scripts/python/bin | |
| parent | b036f1cb6e268f2a8c4433c3c26cbef95642b79d (diff) | |
[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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions