summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-01-04 17:37:13 +0100
committerChris Metcalf <cmetcalf@tilera.com>2013-02-01 16:48:42 +0100
commite69ddd335e99a195bd4b184f0543a30f58805a63 (patch)
tree2c3744de0041bdecc72a6a6fed05a0c7b1d87b0f /arch/tile
parentLinux 3.8-rc6 (diff)
downloadlinux-e69ddd335e99a195bd4b184f0543a30f58805a63.tar.xz
linux-e69ddd335e99a195bd4b184f0543a30f58805a63.zip
tile: remove an unused variable in copy_thread()
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
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;