Re: [PATCH] MIPS: mm: Remove dead macro definitions

From: Maciej W. Rozycki
Date: Fri Feb 13 2015 - 14:50:52 EST


On Thu, 12 Feb 2015, Andreas Ruprecht wrote:

> 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@xxxxxxxxxxxx>
> ---

Reviewed-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>

Thanks for catching it!

Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/