projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c38de
)
drivers/usb/host/uhci-hcd.c: Remove unnecessary casts of pci_get_drvdata
author
Joe Perches
<joe@perches.com>
Mon, 15 Nov 2010 20:14:01 +0000
(12:14 -0800)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/uhci-hcd.c
b/drivers/usb/host/uhci-hcd.c
index f52d04db28f47f2e0b360ac90a87dd14d39ce7db..cee867829ec99a5c5a56caf9e25fca500cd15af2 100644
(file)
--- 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));
}