]> err.no Git - linux-2.6/commitdiff
[PATCH] ppc64: remove duplicate local variable in set_preferred_console
authorOlaf Hering <olh@suse.de>
Sat, 29 Oct 2005 00:46:57 +0000 (17:46 -0700)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 05:23:08 +0000 (15:23 +1000)
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>
arch/powerpc/kernel/setup-common.c

index aa743a50a20a122bd2d1a6c6a668d6da5c2cecdb..1292460fcde26cb70049c7da3f06c63085a1dd64 100644 (file)
@@ -361,7 +361,6 @@ static int __init set_preferred_console(void)
 
                if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) {
                        /* Host Virtual Serial Interface */
-                       int offset;
                        switch (reg[0]) {
                                case 0x30000000:
                                        offset = 0;