perf/x86/intel/pt: Remove redundant variable declaration
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 22 May 2015 15:30:26 +0000 (18:30 +0300)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 May 2015 07:17:48 +0000 (09:17 +0200)
commita82d24edfeaf1ed244cf8b969916840c6feb5165
tree64bfa364b93edcb49e8569ec754ee93cf8eb88e7
parent0a487aad2dfd088bcbbe1766944280b40ff969a5
perf/x86/intel/pt: Remove redundant variable declaration

There is a 'pt' variable in the outer scope of pt_event_stop() with the same
type, we don't really need another one in the inner scope.

This patch removes the redundant variable declaration.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@infradead.org
Cc: adrian.hunter@intel.com
Cc: hpa@zytor.com
Link: http://lkml.kernel.org/r/1432308626-18845-8-git-send-email-alexander.shishkin@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_pt.c