Skip to contentSkip to conversation

sparc: prom: Remove unused definition of prom_stdin

RFC Applied Julian Calaby 3 participants 4 messages Dec 4, 2010 – Dec 12, 2010 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

RFC 4/8 sparc: prom: Remove unused definition of prom_stdin

---
 arch/sparc/prom/console_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/prom/console_64.c +1 -1
index d4eb8ae..d66b98c 100644
@@ -13,7 +13,7 @@
 #include <asm/system.h>
 #include <linux/string.h>
 
-extern int prom_stdin, prom_stdout;
+extern int prom_stdout;
 
 static int __prom_console_write_buf(const char *buf, int len)
 {
Signature · 1 line
1.7.2.3
#1 lore raw

RFC 4/8 sparc: prom: Remove unused definition of prom_stdin

---

er, same again. Sorry about this, I haven't done it in a while =)

 arch/sparc/prom/console_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/prom/console_64.c +1 -1
index d4eb8ae..d66b98c 100644
@@ -13,7 +13,7 @@
 #include <asm/system.h>
 #include <linux/string.h>
 
-extern int prom_stdin, prom_stdout;
+extern int prom_stdout;
 
 static int __prom_console_write_buf(const char *buf, int len)
 {
#3 lore raw
In reply to Julian Calaby
Quoted 9 lines · David Miller

From: Julian Calaby <[email protected]>
Date: Sat, 04 Dec 2010 14:57:34 +1100

Quoted 1 line

prom_stdin is still assigned (unnecessarily) in init_64.c so we really can remove this thing completely.

I'll make a patch which does that.

Cool, thanks!

Signature · 5 lines
Julian Calaby

Email: [email protected]
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/