Skip to contentSkip to conversation

+ sh64-kernel-remove-useless-variable-regs.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jul 30, 2013 SuperH

lore
Share & tools
lore
#0 lore raw

Subject: + sh64-kernel-remove-useless-variable-regs.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Tue, 30 Jul 2013 16:31:28 -0700

The patch titled
Subject: sh64: kernel: remove useless variable 'regs'
has been added to the -mm tree. Its filename is
sh64-kernel-remove-useless-variable-regs.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/sh64-kernel-remove-useless-variable-regs.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/sh64-kernel-remove-useless-variable-regs.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Chen Gang <[email protected]>
Subject: sh64: kernel: remove useless variable 'regs'

Remove useless variable 'regs' to avoid the related warnings (warning is treated as error).

---

 arch/sh/kernel/process_64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/kernel/process_64.c renamed from arch/sh/kernel/process_64.c~sh64-kernel-remove-useless-variable-regs +1 -1
diff -puN arch/sh/kernel/process_64.c~sh64-kernel-remove-useless-variable-regs arch/sh/kernel/process_64.c
@@ -374,7 +374,7 @@ asmlinkage void ret_from_kernel_thread(v
 int copy_thread(unsigned long clone_flags, unsigned long usp,
 		unsigned long arg, struct task_struct *p)
 {
-	struct pt_regs *childregs, *regs = current_pt_regs();
+	struct pt_regs *childregs;
 
 #ifdef CONFIG_SH_FPU
 	/* can't happen for a kernel thread */

_

Patches currently in -mm which might be from [email protected] are

sh64-kernel-use-usp-instead-of-fn.patch sh64-kernel-remove-useless-variable-regs.patch include-linux-interrupth-add-dummy-irq_set_irq_wake-for-generic_hardirqs.patch mm-page_allocc-use-__paginginit-instead-of-__init.patch kernel-smpc-free-related-resources-when-failure-occurs-in-hotplug_cfd.patch linux-next.patch