Skip to contentSkip to conversation

tile: remove an unused variable in copy_thread()

PATCH New Chris Metcalf 1 participant 1 message Jan 4, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tile: remove an unused variable in copy_thread()

---
 arch/tile/kernel/process.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/tile/kernel/process.c +1 -1
index 0e5661e..caf93ae 100644
@@ -159,7 +159,7 @@ static void save_arch_state(struct thread_struct *t);
 int copy_thread(unsigned long clone_flags, unsigned long sp,
 		unsigned long arg, struct task_struct *p)
 {
-	struct pt_regs *childregs = task_pt_regs(p), *regs = current_pt_regs();
+	struct pt_regs *childregs = task_pt_regs(p);
 	unsigned long ksp;
 	unsigned long *callee_regs;
 
Signature · 1 line
1.7.10.3