Commit ea652660 authored by Olaf Hering's avatar Olaf Hering Committed by Paul Mackerras

[PATCH] ppc64: remove duplicate local variable in set_preferred_console

remove duplicate local variable, saves 2 asm instructions.
Signed-off-by: default avatarOlaf Hering <olh@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 18c5332b
...@@ -361,7 +361,6 @@ static int __init set_preferred_console(void) ...@@ -361,7 +361,6 @@ static int __init set_preferred_console(void)
if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) { if (reg && compat && (strcmp(compat, "hvterm-protocol") == 0)) {
/* Host Virtual Serial Interface */ /* Host Virtual Serial Interface */
int offset;
switch (reg[0]) { switch (reg[0]) {
case 0x30000000: case 0x30000000:
offset = 0; offset = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment