aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/image
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2007-11-14 03:15:16 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-02-01 17:34:51 -0500
commita6a01369fdf7c1376421b243ae740465a527b96c (patch)
tree45e024d4895cca127837c853d223da7973fb1500 /drivers/usb/image
parent6d71190e945d31617324e8320965946ad17e6e8c (diff)
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>
Diffstat (limited to 'drivers/usb/image')
-rw-r--r--drivers/usb/image/mdc800.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c
index d1131a87a5b..0fb114ca1eb 100644
--- a/drivers/usb/image/mdc800.c
+++ b/drivers/usb/image/mdc800.c
@@ -478,8 +478,6 @@ static int mdc800_usb_probe (struct usb_interface *intf,
478 { 478 {
479 irq_interval=intf_desc->endpoint [j].desc.bInterval; 479 irq_interval=intf_desc->endpoint [j].desc.bInterval;
480 } 480 }
481
482 continue;
483 } 481 }
484 } 482 }
485 if (mdc800->endpoint[i] == -1) 483 if (mdc800->endpoint[i] == -1)