]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arch/Kconfig: Remove tautological condition from AUTOFDO_CLANG
authorNathan Chancellor <nathan@kernel.org>
Sun, 17 May 2026 23:05:09 +0000 (13:05 -1000)
committerNathan Chancellor <nathan@kernel.org>
Wed, 27 May 2026 22:20:04 +0000 (15:20 -0700)
Now that the minimum supported version of LLVM for building the kernel
has been raised to 17.0.1, the clang version check in
CONFIG_AUTOFDO_CLANG can be removed because it is always true.

Reviewed-by: Rong Xu <xur@google.com>
Link: https://patch.msgid.link/20260517-bump-minimum-supported-llvm-version-to-17-v2-6-b3b8cda46bdd@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
arch/Kconfig

index 0d34bcafecaac2fe1ed5784a2f13ece5ec49a0c3..5d6e9f56210bd8ba8566f6d42212452bb369d65c 100644 (file)
@@ -866,7 +866,7 @@ config ARCH_SUPPORTS_AUTOFDO_CLANG
 config AUTOFDO_CLANG
        bool "Enable Clang's AutoFDO build (EXPERIMENTAL)"
        depends on ARCH_SUPPORTS_AUTOFDO_CLANG
-       depends on CC_IS_CLANG && CLANG_VERSION >= 170000
+       depends on CC_IS_CLANG
        help
          This option enables Clang’s AutoFDO build. When
          an AutoFDO profile is specified in variable