OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c5332
)
[PATCH] ppc64: remove duplicate local variable in set_preferred_console
author
Olaf Hering
<olh@suse.de>
Sat, 29 Oct 2005 00:46:57 +0000
(17:46 -0700)
committer
Paul Mackerras
<paulus@samba.org>
Sat, 29 Oct 2005 05:23:08 +0000
(15:23 +1000)
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>
arch/powerpc/kernel/setup-common.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/setup-common.c
b/arch/powerpc/kernel/setup-common.c
index
aa743a5
..
1292460
100644
(file)
--- 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;