[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164208575387.1590449.8278421820882450166.stgit@devnote2>
Date: Thu, 13 Jan 2022 23:55:54 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Jianhua Liu <jianhua.ljh@...il.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>
Subject: [PATCH 3/3] ia64: kprobes: Cleanup unused 'template' local variable
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@...el.com>
Signed-off-by: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@...el.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:
Powered by blists - more mailing lists