Commit ee269d98 authored by Andrew Victor's avatar Andrew Victor Committed by Greg Kroah-Hartman

USB: ohci at91 warning fix

Remove a warning about an unused variable in the OHCI bus glue for at91.
Signed-off-by: default avatarAndrew Victor <andrew@sanpeople.com>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dd9048af
...@@ -187,7 +187,6 @@ ohci_at91_start (struct usb_hcd *hcd) ...@@ -187,7 +187,6 @@ ohci_at91_start (struct usb_hcd *hcd)
{ {
struct at91_usbh_data *board = hcd->self.controller->platform_data; struct at91_usbh_data *board = hcd->self.controller->platform_data;
struct ohci_hcd *ohci = hcd_to_ohci (hcd); struct ohci_hcd *ohci = hcd_to_ohci (hcd);
struct usb_device *root = hcd->self.root_hub;
int ret; int ret;
if ((ret = ohci_init(ohci)) < 0) if ((ret = ohci_init(ohci)) < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment