Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf: Trivial cleanup of duplicate code

Removing duplicate code.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1333643084-26776-2-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Robert Richter and committed by
Ingo Molnar
10c25023 3dbe927b

-3
-3
arch/x86/kernel/cpu/perf_event.c
··· 484 484 485 485 /* mark unused */ 486 486 event->hw.extra_reg.idx = EXTRA_REG_NONE; 487 - 488 - /* mark not used */ 489 - event->hw.extra_reg.idx = EXTRA_REG_NONE; 490 487 event->hw.branch_reg.idx = EXTRA_REG_NONE; 491 488 492 489 return x86_pmu.hw_config(event);