[PATCH 3/3] ia64: kprobes: Cleanup unused 'template' local variable
From: Masami Hiramatsu
Date: Thu Jan 13 2022 - 09:56:00 EST
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@xxxxxxxxx>
Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@xxxxxxxxx>
---
arch/ia64/kernel/kprobes.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c
index 1a7bab1c5d7c..31ed086d61c9 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: