]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 9117/1: asm-generic: div64: Remove always-true __div64_const32_is_OK()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 11 Aug 2021 09:27:04 +0000 (10:27 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 20 Aug 2021 10:39:28 +0000 (11:39 +0100)
commit9e12c9ec6f2d20dac014f8501fcca74e3f49fb44
treedc09d16f24ca30fbf9f04f8ca29460574500a039
parent1f37e1790dd5258fb113f5197aee52e8a2a2c59f
ARM: 9117/1: asm-generic: div64: Remove always-true __div64_const32_is_OK()

Since commit 46ed35d9f3fa8ede ("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@glider.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
include/asm-generic/div64.h