diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-05-30 13:39:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:24 -0400 |
commit | abe28c00b906b79dc9aff81087a81a5608f64170 (patch) | |
tree | 16311e2c1480369c337d410996cb2fc2c73c8b36 /drivers/usb/atm | |
parent | b2bdd1f5041db6f2d172417b5ceea20abc7a6eb6 (diff) |
USB: speedtch.c fix sparse shadowed variable warning
i is used only as a for-loop index no need to declare another.
drivers/usb/atm/speedtch.c:832:7: warning: symbol 'i' shadows an earlier one
drivers/usb/atm/speedtch.c:766:6: originally declared here
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r-- | drivers/usb/atm/speedtch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index 7d27c9cf3c43..76fce44c2f9a 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c | |||
@@ -829,7 +829,6 @@ static int speedtch_bind(struct usbatm_data *usbatm, | |||
829 | if (use_isoc) { | 829 | if (use_isoc) { |
830 | const struct usb_host_interface *desc = data_intf->cur_altsetting; | 830 | const struct usb_host_interface *desc = data_intf->cur_altsetting; |
831 | const __u8 target_address = USB_DIR_IN | usbatm->driver->isoc_in; | 831 | const __u8 target_address = USB_DIR_IN | usbatm->driver->isoc_in; |
832 | int i; | ||
833 | 832 | ||
834 | use_isoc = 0; /* fall back to bulk if endpoint not found */ | 833 | use_isoc = 0; /* fall back to bulk if endpoint not found */ |
835 | 834 | ||