riscv: drop unneeded -Wall addition
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 May 2019 04:27:21 +0000 (13:27 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jul 2019 01:25:10 +0000 (10:25 +0900)
The top level Makefile adds -Wall globally:

  KBUILD_CFLAGS   := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \

For riscv, I see two "-Wall" added for compiling each object.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/riscv/Makefile

index f8b3b07..7a117be 100644 (file)
@@ -34,8 +34,6 @@ else
        KBUILD_LDFLAGS += -melf32lriscv
 endif
 
-KBUILD_CFLAGS += -Wall
-
 # ISA string setting
 riscv-march-$(CONFIG_ARCH_RV32I)       := rv32ima
 riscv-march-$(CONFIG_ARCH_RV64I)       := rv64ima