From: Deng-Cheng Zhu Date: Mon, 21 Nov 2011 19:28:48 +0000 (+0800) Subject: MIPS/Perf-events: Cleanup event->destroy at event init X-Git-Tag: v3.3-rc1~65^2^10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff5d7265cfb88e8f8943a55afde90255fc5deacb;p=pandora-kernel.git 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 Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: David Daney Cc: Eyal Barzilay Cc: Zenon Fortuna Patchwork: https://patchwork.linux-mips.org/patch/3109/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed