From: bookjovi@gmail.com
To: a.p.zijlstra@chello.nl, paulus@samba.org, mingo@elte.hu,
acme@redhat.com, linux-kernel@vger.kernel.org
Cc: Jovi Zhang <bookjovi@gmail.com>
Subject: [PATCH] perf_event: fix error handling path
Date: Fri, 3 Dec 2010 22:19:12 -0500 [thread overview]
Message-ID: <1291432752-2466-1-git-send-email-bookjovi@gmail.com> (raw)
fix error handling path
Signed-off-by: Jovi Zhang <bookjovi@gmail.com>
kernel/perf_event.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index cb6c0d2..62f9e9d 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -1918,8 +1918,6 @@ static int get_callchain_buffers(void)
}
err = alloc_callchain_buffers();
- if (err)
- release_callchain_buffers();
exit:
mutex_unlock(&callchain_mutex);
next reply other threads:[~2010-12-05 10:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-04 3:19 bookjovi [this message]
2010-12-05 12:29 ` Thiago Farina
2010-12-06 1:59 ` jovi zhang
2010-12-08 1:51 ` jovi zhang
2010-12-09 17:06 ` Corey Ashford
2010-12-09 17:17 ` Peter Zijlstra
2010-12-10 2:27 ` jovi zhang
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=1291432752-2466-1-git-send-email-bookjovi@gmail.com \
--to=bookjovi@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®