[PATCH 3/4] asm-generic: div64: Remove always-true __div64_const32_is_OK()

Arnd Bergmann arnd at kernel.org
Wed Feb 10 10:11:17 EST 2021

On Wed, Feb 10, 2021 at 3:11 PM Geert Uytterhoeven
<geert+renesas at glider.be> 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 at glider.be>
> ---
>  include/asm-generic/div64.h | 14 ++++----------

Acked-by: Arnd Bergmann <arnd at arndb.de>

More information about the linux-arm-kernel mailing list