perf/amd/uncore: Clean up per-family setup
authorBorislav Petkov <bp@suse.de>
Mon, 10 Apr 2017 12:20:46 +0000 (14:20 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 11 Apr 2017 06:44:59 +0000 (08:44 +0200)
commit68e8038048f44e7782079e79338506246393a876
treed59515163ad5c32c90d719e73c66786814f1c1bf
parentc2628f90c9964881a62dd8e9f7372ca05cb6fe32
perf/amd/uncore: Clean up per-family setup

Fam16h is the same as the default one, remove it. Turn the switch-case
into a simple if-else.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/20170410122047.3026-3-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/amd/uncore.c