From: Chris Metcalf Date: Fri, 4 Jan 2013 16:37:13 +0000 (-0500) Subject: tile: remove an unused variable in copy_thread() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e69ddd335e99a195bd4b184f0543a30f58805a63;p=linux-beck.git tile: remove an unused variable in copy_thread() Signed-off-by: Chris Metcalf --- diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 0e5661e7d00d..caf93ae11793 100644 --- a/arch/tile/kernel/process.c +++ b/arch/tile/kernel/process.c @@ -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;