Explorar o código

[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>
Olaf Hering %!s(int64=19) %!d(string=hai) anos
pai
achega
ea6526605a
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      arch/powerpc/kernel/setup-common.c

+ 0 - 1
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;