forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/usb/host/ohci-spear.c
....@@ -35,7 +35,6 @@
3535 static int spear_ohci_hcd_drv_probe(struct platform_device *pdev)
3636 {
3737 const struct hc_driver *driver = &ohci_spear_hc_driver;
38
- struct ohci_hcd *ohci;
3938 struct usb_hcd *hcd = NULL;
4039 struct clk *usbh_clk;
4140 struct spear_ohci *sohci_p;
....@@ -84,8 +83,6 @@
8483 sohci_p->clk = usbh_clk;
8584
8685 clk_prepare_enable(sohci_p->clk);
87
-
88
- ohci = hcd_to_ohci(hcd);
8986
9087 retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0);
9188 if (retval == 0) {