提交 8d28df81 编写于 作者: C Chen Gang 提交者: Linus Torvalds

sh64: kernel: remove useless variable 'regs'

Remove useless variable 'regs' to avoid the related warnings (warning is
treated as error).
Signed-off-by: NChen Gang <gang.chen@asianux.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 42b43341
...@@ -374,7 +374,7 @@ asmlinkage void ret_from_kernel_thread(void); ...@@ -374,7 +374,7 @@ asmlinkage void ret_from_kernel_thread(void);
int copy_thread(unsigned long clone_flags, unsigned long usp, int copy_thread(unsigned long clone_flags, unsigned long usp,
unsigned long arg, struct task_struct *p) unsigned long arg, struct task_struct *p)
{ {
struct pt_regs *childregs, *regs = current_pt_regs(); struct pt_regs *childregs;
#ifdef CONFIG_SH_FPU #ifdef CONFIG_SH_FPU
/* can't happen for a kernel thread */ /* can't happen for a kernel thread */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册