]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: perf: Remove unnecessary #ifdef
authorAl Cooper <alcooperx@gmail.com>
Fri, 13 Jul 2012 20:44:52 +0000 (16:44 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 15 Aug 2012 18:31:24 +0000 (20:31 +0200)
commit5a6f5a87a85a474bb4faa8f8a0be4c4d2243e5cc
tree7ac3f568bea77f14ca52679de1f3aeaa74f514ca
parent0b724c5a224c795c9f380a776778dda94ae5e95e
MIPS: perf: Remove unnecessary #ifdef

The #ifdef for CONFIG_HW_PERF_EVENTS is not needed because the
Makefile will only compile the module if this config option is set.
This means that the code under #else would never be compiled. This
may have been done to leave the original broken code around for
reference, but the FIXME comment above the code already shows the
broken code.

Signed-off-by: Al Cooper <alcooperx@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/4107/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/perf_event_mipsxx.c