public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perf_event: fix error handling path
@ 2010-12-04  3:19 bookjovi
  2010-12-05 12:29 ` Thiago Farina
  0 siblings, 1 reply; 7+ messages in thread
From: bookjovi @ 2010-12-04  3:19 UTC (permalink / raw)
  To: a.p.zijlstra, paulus, mingo, acme, linux-kernel; +Cc: Jovi Zhang

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);
 

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-12-10  2:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-04  3:19 [PATCH] perf_event: fix error handling path bookjovi
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox