[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:
parent
18c5332bc1
commit
ea6526605a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue