]> git.hungrycats.org Git - linux/commit
compiler-clang.h: Remove __cleanup -Wunused-variable workaround
authorNathan Chancellor <nathan@kernel.org>
Sun, 17 May 2026 23:05:18 +0000 (13:05 -1000)
committerNathan Chancellor <nathan@kernel.org>
Wed, 27 May 2026 22:20:06 +0000 (15:20 -0700)
commitc69eaa687667e529fcc0cce02394cca5a4db2249
tree7f9e1ae83a29f926ff96bc2267c5c9ef803e40b4
parentf3de78cb19d1236169c3f24a5caaf7739c0886a1
compiler-clang.h: Remove __cleanup -Wunused-variable workaround

Now that the minimum supported version of LLVM for building the kernel
has been raised to 17.0.1, the redefinition of __cleanup with
__maybe_unused added to it is unnecessary because the referenced LLVM
change is present in all supported LLVM versions. Drop it.

Link: https://patch.msgid.link/20260517-bump-minimum-supported-llvm-version-to-17-v2-15-b3b8cda46bdd@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
include/linux/compiler-clang.h