diff --git a/arch/x86/Makefile b/arch/x86/Makefile index e98f8e2e3708c3f16c548fd7cb8c2ea3590e4f8a..fad55160dcb94a28e60d537d3d69d471a1e10e2e 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -235,8 +235,6 @@ ifdef CONFIG_RETPOLINE RETPOLINE_CFLAGS += $(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register) ifneq ($(RETPOLINE_CFLAGS),) KBUILD_CFLAGS += $(RETPOLINE_CFLAGS) -DRETPOLINE - else - $(warning CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.) endif endif