Skip to content

Commit

Permalink
USB: speedtch.c fix sparse shadowed variable warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harvey Harrison authored and Greg Kroah-Hartman committed Jul 21, 2008
1 parent b2bdd1f commit abe28c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/atm/speedtch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit abe28c0

Please sign in to comment.