diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-11-12 18:06:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-12 22:08:59 -0500 |
commit | 8d28df813e5077913a60c61aaef2e6bf940d8cd9 (patch) | |
tree | b41f334f722580ae08406bcaf1b7e32363be8354 /arch | |
parent | 42b43341b045227c5ffca04c2d9424c77abed4fb (diff) |
sh64: kernel: remove useless variable 'regs'
Remove useless variable 'regs' to avoid the related warnings (warning is
treated as error).
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/process_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c index eac5947ac063..e2062e643341 100644 --- a/arch/sh/kernel/process_64.c +++ b/arch/sh/kernel/process_64.c | |||
@@ -374,7 +374,7 @@ asmlinkage void ret_from_kernel_thread(void); | |||
374 | int copy_thread(unsigned long clone_flags, unsigned long usp, | 374 | int copy_thread(unsigned long clone_flags, unsigned long usp, |
375 | unsigned long arg, struct task_struct *p) | 375 | unsigned long arg, struct task_struct *p) |
376 | { | 376 | { |
377 | struct pt_regs *childregs, *regs = current_pt_regs(); | 377 | struct pt_regs *childregs; |
378 | 378 | ||
379 | #ifdef CONFIG_SH_FPU | 379 | #ifdef CONFIG_SH_FPU |
380 | /* can't happen for a kernel thread */ | 380 | /* can't happen for a kernel thread */ |