[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>
This commit is contained in:
Olaf Hering 2005-10-28 17:46:57 -07:00 committed by Paul Mackerras
parent 18c5332bc1
commit ea6526605a

View 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;