diff options
-rw-r--r-- | drivers/usb/core/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index e5d5a2603f3a..cd220277c6c3 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c | |||
@@ -1471,7 +1471,7 @@ int usb_reset_configuration(struct usb_device *dev) | |||
1471 | /* If not, reinstate the old alternate settings */ | 1471 | /* If not, reinstate the old alternate settings */ |
1472 | if (retval < 0) { | 1472 | if (retval < 0) { |
1473 | reset_old_alts: | 1473 | reset_old_alts: |
1474 | for (; i >= 0; i--) { | 1474 | for (i--; i >= 0; i--) { |
1475 | struct usb_interface *intf = config->interface[i]; | 1475 | struct usb_interface *intf = config->interface[i]; |
1476 | struct usb_host_interface *alt; | 1476 | struct usb_host_interface *alt; |
1477 | 1477 | ||