aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/objtool/include
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2022-12-27 16:00:58 +0000
committerJosh Poimboeuf <jpoimboe@kernel.org>2023-02-01 09:15:23 -0800
commitcfd66e81799f4a2fdc6447fa99bdb1871f45ff08 (patch)
treec04267382b36d330c55abb9616ab779a0ba17ad6 /tools/objtool/include
parentobjtool: Make struct entries[] static and const (diff)
downloadwireguard-linux-cfd66e81799f4a2fdc6447fa99bdb1871f45ff08.tar.xz
wireguard-linux-cfd66e81799f4a2fdc6447fa99bdb1871f45ff08.zip
objtool: Make struct check_options static
It is not used outside of builtin-check.c. Also remove the unused declaration from builtin.h . Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20221216-objtool-memory-v2-2-17968f85a464@weissschuh.net Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'tools/objtool/include')
-rw-r--r--tools/objtool/include/objtool/builtin.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/objtool/include/objtool/builtin.h b/tools/objtool/include/objtool/builtin.h
index fa45044e3863..2a108e648b7a 100644
--- a/tools/objtool/include/objtool/builtin.h
+++ b/tools/objtool/include/objtool/builtin.h
@@ -7,8 +7,6 @@
#include <subcmd/parse-options.h>
-extern const struct option check_options[];
-
struct opts {
/* actions: */
bool dump_orc;