]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS/Perf-events: Cleanup event->destroy at event init
authorDeng-Cheng Zhu <dczhu@mips.com>
Mon, 21 Nov 2011 19:28:48 +0000 (03:28 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:04:41 +0000 (22:04 +0000)
commitff5d7265cfb88e8f8943a55afde90255fc5deacb
tree0b93a78af8c04bc0cee71e641583d31a815d9245
parent266623b7597c97e6ff987b45719540b227751420
MIPS/Perf-events: Cleanup event->destroy at event init

Simplify the code by changing the place of event->destroy().

Signed-off-by: Deng-Cheng Zhu <dczhu@mips.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: David Daney <david.daney@cavium.com>
Cc: Eyal Barzilay <eyal@mips.com>
Cc: Zenon Fortuna <zenon@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/3109/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c