From: Matthias Kaehlcke <matthias@kaehlcke.net>
To: Felipe Balbi <balbi@ti.com>,
David Brownell <dbrownell@users.sourceforge.net>
Cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org
Subject: [PATCH] USB ehci-omap: Remove second kfree() call on the same object
Date: Mon, 25 Oct 2010 22:56:54 +0200 [thread overview]
Message-ID: <20101025205654.GN18700@darwin> (raw)
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
next reply other threads:[~2010-10-25 20:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-25 20:56 Matthias Kaehlcke [this message]
2010-11-05 12:24 ` [PATCH] USB ehci-omap: Remove second kfree() call on the same object Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101025205654.GN18700@darwin \
--to=matthias@kaehlcke.net \
--cc=balbi@ti.com \
--cc=dbrownell@users.sourceforge.net \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.