diff options
author | Joe Perches <joe@perches.com> | 2010-11-15 15:14:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-16 16:54:18 -0500 |
commit | ce7eb32fc24a7380f55924360fa0c96297aa237e (patch) | |
tree | c0faf42b5457405e44ff7270ef637d72f74cd58b | |
parent | c8c38de9d8002578599222296b90696745ac0fe3 (diff) |
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>
-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) | |||
569 | */ | 569 | */ |
570 | static void uhci_shutdown(struct pci_dev *pdev) | 570 | static void uhci_shutdown(struct pci_dev *pdev) |
571 | { | 571 | { |
572 | struct usb_hcd *hcd = (struct usb_hcd *) pci_get_drvdata(pdev); | 572 | struct usb_hcd *hcd = pci_get_drvdata(pdev); |
573 | 573 | ||
574 | uhci_hc_died(hcd_to_uhci(hcd)); | 574 | uhci_hc_died(hcd_to_uhci(hcd)); |
575 | } | 575 | } |