aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2022-01-13 18:11:50 +0900
committerMasami Hiramatsu <mhiramat@kernel.org>2022-01-13 23:47:31 +0900
commit8ad78d11b58ef01c87d6c58fa9ad809f93b07105 (patch)
tree2619f7232c20da70ee20aed43d5651a88eea98d5
parentd62f5c652318e9b914d0b48a306479cd78f237ae (diff)
downloadlinux-kprobes/fixes.tar.gz
ia64: kprobes: Cleanup unused 'template' local variablekprobes/fixes
Remove unused 'template' local variable. This seems to be introduced accidentally by a cleanup patch. Fixes: a5403183d84d ("[PATCH] Kprobes IA64: arch_prepare_kprobes() cleanup") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
-rw-r--r--arch/ia64/kernel/kprobes.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c
index 1a7bab1c5d7c2..31ed086d61c93 100644
--- a/arch/ia64/kernel/kprobes.c
+++ b/arch/ia64/kernel/kprobes.c
@@ -322,9 +322,6 @@ static void __kprobes get_kprobe_inst(bundle_t *bundle, uint slot,
unsigned long *kprobe_inst, uint *major_opcode)
{
unsigned long kprobe_inst_p0, kprobe_inst_p1;
- unsigned int template;
-
- template = bundle->quad0.template;
switch (slot) {
case 0: