drivers/usb/host/uhci-hcd.c: Remove unnecessary casts of pci_get_drvdata
authorJoe Perches <joe@perches.com>
Mon, 15 Nov 2010 20:14:01 +0000 (12:14 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 21:54:18 +0000 (13:54 -0800)
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>
drivers/usb/host/uhci-hcd.c

index f52d04db28f47f2e0b360ac90a87dd14d39ce7db..cee867829ec99a5c5a56caf9e25fca500cd15af2 100644 (file)
@@ -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));
 }