[patch 42/43] ppc64: remove duplicate local variable in set_preferred_console
akpm at osdl.org
akpm at osdl.org
Sat Oct 29 10:46:57 EST 2005
From: Olaf Hering <olh at suse.de>
remove duplicate local variable, saves 2 asm instructions.
Signed-off-by: Olaf Hering <olh at suse.de>
Signed-off-by: Andrew Morton <akpm at 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;
_
More information about the Linuxppc64-dev
mailing list