]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Remove annotate_{,un}reachable()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 28 Nov 2024 09:39:04 +0000 (10:39 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 2 Dec 2024 11:01:44 +0000 (12:01 +0100)
commit06e24745985c8dd0da18337503afcf2f2fdbdff1
tree55e5b5b3c89624e29752b7017a454206ebc91a7a
parent624bde3465f660e54a7cd4c1efc3e536349fead5
objtool: Remove annotate_{,un}reachable()

There are no users of annotate_reachable() left.

And the annotate_unreachable() usage in unreachable() is plain wrong;
it will hide dangerous fall-through code-gen.

Remove both.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/20241128094312.235637588@infradead.org
include/linux/compiler.h
tools/objtool/check.c