Skip to contentSkip to conversation

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

PATCH Applied Matthias Kaehlcke 2 participants 2 messages Oct 25, 2010 – Nov 5, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

Remove second kfree() call on the same object in the error path of ehci_hcd_omap_probe()

---
 drivers/usb/host/ehci-omap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/usb/host/ehci-omap.c +0 -1
index e1da3c9..116ae28 100644
@@ -734,7 +734,6 @@ err_uhh_ioremap:
 
 err_ioremap:
 	usb_put_hcd(hcd);
-	kfree(omap);
 
 err_create_hcd:
 	kfree(omap);
Signature · 1 line
1.7.1