USB: speedtch.c fix sparse shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Fri, 30 May 2008 17:39:04 +0000 (10:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:24 +0000 (15:16 -0700)
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>
drivers/usb/atm/speedtch.c

index 7d27c9cf3c43fee169f2c0deedb5eec1742687f1..76fce44c2f9ace8a573da9fae2e289cc904c8dc9 100644 (file)
@@ -829,7 +829,6 @@ static int speedtch_bind(struct usbatm_data *usbatm,
        if (use_isoc) {
                const struct usb_host_interface *desc = data_intf->cur_altsetting;
                const __u8 target_address = USB_DIR_IN | usbatm->driver->isoc_in;
-               int i;
 
                use_isoc = 0; /* fall back to bulk if endpoint not found */