From: Mauro Carvalho Chehab Date: Tue, 28 Apr 2015 22:49:07 +0000 (-0300) Subject: [media] zc3xx: remove dead code and uneeded gotos X-Git-Tag: omap-for-v4.2/fixes-rc1^2~111^2~506 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=094af36a3a57ddfeb942fd2990f15b570430a81e;p=pandora-kernel.git [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 --- Reading git-diff-tree failed