LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [patch 42/43] ppc64: remove duplicate local variable in set_preferred_console
@ 2005-10-29  0:46 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2005-10-29  0:46 UTC (permalink / raw)
  To: paulus; +Cc: akpm, linuxppc-dev, olh, linuxppc64-dev


From: Olaf Hering <olh@suse.de>

remove duplicate local variable, saves 2 asm instructions.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 arch/ppc64/kernel/setup.c |    1 -
 1 files changed, 1 deletion(-)

diff -puN arch/ppc64/kernel/setup.c~ppc64-remove-duplicate-local-variable-in-set_preferred_console arch/ppc64/kernel/setup.c
--- devel/arch/ppc64/kernel/setup.c~ppc64-remove-duplicate-local-variable-in-set_preferred_console	2005-10-28 17:44:05.000000000 -0700
+++ devel-akpm/arch/ppc64/kernel/setup.c	2005-10-28 17:44:05.000000000 -0700
@@ -881,7 +881,6 @@ static int __init set_preferred_console(
 
  		if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) {
  			/* Host Virtual Serial Interface */
- 			int offset;
  			switch (reg[0]) {
  				case 0x30000000:
  					offset = 0;
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-29  0:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29  0:46 [patch 42/43] ppc64: remove duplicate local variable in set_preferred_console akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox