From: Masahiro Yamada Date: Wed, 15 May 2019 04:27:21 +0000 (+0900) Subject: riscv: drop unneeded -Wall addition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b74c0cad3d5f4f2252f1a42e160dc0e202e88e93;p=linux.git riscv: drop unneeded -Wall addition 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 --- diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index f8b3b07e42474..7a117be8297c8 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -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