Re: [PATCH 3/4] asm-generic: div64: Remove always-true __div64_const32_is_OK()
From: Arnd Bergmann
Date: Wed Feb 10 2021 - 10:12:21 EST
On Wed, Feb 10, 2021 at 3:11 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:
>
> Since commit cafa0010cd51fb71 ("Raise the minimum required gcc version
> to 4.6"), the kernel can no longer be compiled using gcc-3.
> Hence __div64_const32_is_OK() is always true, and the corresponding
> check can thus be removed.
>
> While at it, remove the whitespace error that hurts my eyes, and add the
> missing curly braces for the final else statement, as per coding style.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> include/asm-generic/div64.h | 14 ++++----------
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>