Messages in this thread Patch in this message | | | From | Masami Hiramatsu <> | Subject | [PATCH 3/3] ia64: kprobes: Cleanup unused 'template' local variable | Date | Thu, 13 Jan 2022 23:55:54 +0900 |
| |
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> --- 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:
| |