]> err.no Git - linux-2.6/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)
commita6a01369fdf7c1376421b243ae740465a527b96c
tree45e024d4895cca127837c853d223da7973fb1500
parent6d71190e945d31617324e8320965946ad17e6e8c
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