aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 20:46:57 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-29 01:23:08 -0400
commitea6526605a60cf9a6f758605f73062fac6d974cf (patch)
tree58e103bf29f0605138722b10878d5b5a13f2a5a6 /arch/powerpc/kernel/setup-common.c
parent18c5332bc17e75efdc02cc17410c647a627861f2 (diff)
[PATCH] ppc64: remove duplicate local variable in set_preferred_console
remove duplicate local variable, saves 2 asm instructions. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r--arch/powerpc/kernel/setup-common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index aa743a50a20a..1292460fcde2 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -361,7 +361,6 @@ static int __init set_preferred_console(void)
361 361
362 if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) { 362 if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) {
363 /* Host Virtual Serial Interface */ 363 /* Host Virtual Serial Interface */
364 int offset;
365 switch (reg[0]) { 364 switch (reg[0]) {
366 case 0x30000000: 365 case 0x30000000:
367 offset = 0; 366 offset = 0;