Somewhere along the line, a variable in a USB-OTG codepath stopped being used; this removes the relevant compiler warning.
Signed-off-by: David Brownell <[EMAIL PROTECTED]> Index: d26.rc4test/drivers/usb/core/hub.c =================================================================== --- d26.rc4test.orig/drivers/usb/core/hub.c 2006-08-23 22:07:42.000000000 -0700 +++ d26.rc4test/drivers/usb/core/hub.c 2006-08-23 22:22:43.000000000 -0700 @@ -1371,8 +1371,7 @@ int usb_new_device(struct usb_device *ud USB_DT_OTG, (void **) &desc) == 0) { if (desc->bmAttributes & USB_OTG_HNP) { unsigned port1 = udev->portnum; - struct usb_device *root = udev->parent; - + dev_info(&udev->dev, "Dual-Role OTG device on %sHNP port\n", (port1 == bus->otg_port) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel