summaryrefslogtreecommitdiff
path: root/tools/objtool/check.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-04-24 16:18:58 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-04-30 20:14:33 +0200
commitb09fb65e863733e192d4825a285b4b4998969ce0 (patch)
treea1a1d4be7b752a76dca09f888a1f9ace16ba4011 /tools/objtool/check.c
parent60041bcd8f5ab560dabf44dc384f58bbeb5a6a30 (diff)
objtool: Remove INSN_STACK
With the unconditional use of handle_insn_ops(), INSN_STACK has lost its purpose. Remove it. Suggested-by: Julien Thierry <jthierry@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200428191659.854203028@infradead.org
Diffstat (limited to 'tools/objtool/check.c')
-rw-r--r--tools/objtool/check.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 6591c2dd94f1..4f3db2f58c56 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -2339,9 +2339,6 @@ static int validate_branch(struct objtool_file *file, struct symbol *func,
}
return 0;
- case INSN_STACK:
- break;
-
case INSN_STAC:
if (state.uaccess) {
WARN_FUNC("recursive UACCESS enable", sec, insn->offset);