]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: Remove dead macro definitions
authorAndreas Ruprecht <rupran@einserver.de>
Thu, 12 Feb 2015 13:42:52 +0000 (14:42 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Feb 2015 22:42:00 +0000 (23:42 +0100)
commit6c8eb36fdc9db177dee08498196330c6fa32552b
treecbe79c262d3cee314cd3c281509daf8762a0cd47
parent414a7b0f01c669453a6ed13cd3462a06848385bc
MIPS: mm: Remove dead macro definitions

In commit 27036b6a2ac3 ("MIPS: mm: Only build one microassembler that
is suitable"), the Makefile at arch/mips/mm was rewritten to only
build the "right" microassembler file, depending on whether
CONFIG_CPU_MICROMIPS is set or not.

In the files, however, there are still preprocessor definitions
depending on CONFIG_CPU_MICROMIPS. The #ifdef around them can now
never evaluate to true, so let's remove them altogether.

This inconsistency was found using the undertaker-checkpatch tool.

Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Reviewed-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Valentin Rothberg <valentinrothberg@gmail.com>
Cc: Paul Bolle <pebolle@tiscali.nl>
Patchwork: https://patchwork.linux-mips.org/patch/9267/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/uasm-micromips.c
arch/mips/mm/uasm-mips.c