]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Drop unnecessary continue in a few drivers
authorJulia Lawall <julia@diku.dk>
Wed, 14 Nov 2007 08:15:16 +0000 (09:15 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:51 +0000 (14:34 -0800)
commita0fdc3e68a68289fc1da1854bfe3d095875896f8
tree45e024d4895cca127837c853d223da7973fb1500
parent9d22ba0174669d0612c9b9298010534c822acaf5
USB: Drop unnecessary continue in a few drivers

Continue is not needed at the bottom of a loop.

The semantic patch implementing this change is as follows:

@@
@@

for (...;...;...) {
   ...
   if (...) {
     ...
-   continue;
   }
}

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/isp116x-hcd.c
drivers/usb/image/mdc800.c