* [PATCH] USB ehci-omap: Remove second kfree() call on the same object
@ 2010-10-25 20:56 Matthias Kaehlcke
2010-11-05 12:24 ` Felipe Balbi
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Kaehlcke @ 2010-10-25 20:56 UTC (permalink / raw)
To: Felipe Balbi, David Brownell; +Cc: linux-usb, linux-omap
Remove second kfree() call on the same object in the error path of
ehci_hcd_omap_probe()
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
---
drivers/usb/host/ehci-omap.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
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);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-05 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 20:56 [PATCH] USB ehci-omap: Remove second kfree() call on the same object Matthias Kaehlcke
2010-11-05 12:24 ` Felipe Balbi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.