diff options
author | Olaf Hering <olh@suse.de> | 2005-10-29 02:46:57 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 07:23:08 +0200 |
commit | ea6526605a60cf9a6f758605f73062fac6d974cf (patch) | |
tree | 58e103bf29f0605138722b10878d5b5a13f2a5a6 /arch/powerpc/kernel/setup-common.c | |
parent | [PATCH] ppc64: change name of target file during make install (diff) | |
download | linux-ea6526605a60cf9a6f758605f73062fac6d974cf.tar.xz linux-ea6526605a60cf9a6f758605f73062fac6d974cf.zip |
[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.c | 1 |
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) if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) { /* Host Virtual Serial Interface */ - int offset; switch (reg[0]) { case 0x30000000: offset = 0; |