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 f8b3b07e42474ea02ff44a5471fa6073838a9a35..7a117be8297c89253fbe0ce07397a10a25181238 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