diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
index f8b3b07e42474ea02ff44a5471fa6073838a9a35..7a117be8297c89253fbe0ce07397a10a25181238 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