diff options
author | Joe Perches <joe@perches.com> | 2010-11-15 21:14:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-16 22:54:18 +0100 |
commit | ce7eb32fc24a7380f55924360fa0c96297aa237e (patch) | |
tree | c0faf42b5457405e44ff7270ef637d72f74cd58b /drivers | |
parent | USB host: Adding USB ehci & ohci support for spear platform (diff) | |
download | linux-ce7eb32fc24a7380f55924360fa0c96297aa237e.tar.xz linux-ce7eb32fc24a7380f55924360fa0c96297aa237e.zip |
drivers/usb/host/uhci-hcd.c: Remove unnecessary casts of pci_get_drvdata
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index f52d04db28f4..cee867829ec9 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c @@ -569,7 +569,7 @@ static int uhci_init(struct usb_hcd *hcd) */ static void uhci_shutdown(struct pci_dev *pdev) { - struct usb_hcd *hcd = (struct usb_hcd *) pci_get_drvdata(pdev); + struct usb_hcd *hcd = pci_get_drvdata(pdev); uhci_hc_died(hcd_to_uhci(hcd)); } |