diff mbox

USB ehci-omap: Remove second kfree() call on the same object

Message ID 20101025205654.GN18700@darwin (mailing list archive)
State New, archived
Delegated to: Felipe Balbi
Headers show

Commit Message

Matthias Kaehlcke Oct. 25, 2010, 8:56 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index e1da3c9..116ae28 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -734,7 +734,6 @@  err_uhh_ioremap:
 
 err_ioremap:
 	usb_put_hcd(hcd);
-	kfree(omap);
 
 err_create_hcd:
 	kfree(omap);