diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-01-04 11:37:13 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-02-01 10:48:42 -0500 |
commit | e69ddd335e99a195bd4b184f0543a30f58805a63 (patch) | |
tree | 2c3744de0041bdecc72a6a6fed05a0c7b1d87b0f | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) | |
download | linux-e69ddd335e99a195bd4b184f0543a30f58805a63.tar.gz linux-e69ddd335e99a195bd4b184f0543a30f58805a63.tar.bz2 linux-e69ddd335e99a195bd4b184f0543a30f58805a63.zip |
tile: remove an unused variable in copy_thread()
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
-rw-r--r-- | arch/tile/kernel/process.c | 2 |
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; |