[PATCH] riscv: drop unneeded -Wall addition

From: Masahiro Yamada
Date: Wed May 15 2019 - 00:30:15 EST


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@xxxxxxxxxxxxx>
---

arch/riscv/Makefile | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index c6342e638ef7..8f7368575bf6 100644
--- a/arch/riscv/Makefile
+++ b/arch/riscv/Makefile
@@ -36,8 +36,6 @@ else
KBUILD_LDFLAGS += -melf32lriscv
endif

-KBUILD_CFLAGS += -Wall
-
# ISA string setting
riscv-march-$(CONFIG_ARCH_RV32I) := rv32im
riscv-march-$(CONFIG_ARCH_RV64I) := rv64im
--
2.17.1