From: Andrew Victor Date: Tue, 5 Dec 2006 11:20:31 +0000 (-0800) Subject: USB: ohci at91 warning fix X-Git-Tag: v2.6.20-rc2~83^2~13 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ee269d98a9248fbb729c20ffda0f1b97e82c5c37;p=~emulex%2Finfiniband.git USB: ohci at91 warning fix Remove a warning about an unused variable in the OHCI bus glue for at91. Signed-off-by: Andrew Victor Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index f15c84ea286..cc405512fa1 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c @@ -187,7 +187,6 @@ ohci_at91_start (struct usb_hcd *hcd) { struct at91_usbh_data *board = hcd->self.controller->platform_data; struct ohci_hcd *ohci = hcd_to_ohci (hcd); - struct usb_device *root = hcd->self.root_hub; int ret; if ((ret = ohci_init(ohci)) < 0)