]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit8fc5ec70443f462804ba765acfed1667cff26a17
treecbe79c262d3cee314cd3c281509daf8762a0cd47
parent64b139f97c01f3624b3f0a4e84f65b0c2bf2ebda
MIPS: mm: Remove dead macro definitions

In commit c441d4a54c6e ("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