diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-12 14:57:53 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-12 14:57:53 -0800 |
commit | bce5feeab418fb1df9ce1c3fcc14f0aacf740208 (patch) | |
tree | 51037522aa53bc01da516d4506367e9ea6446fbf /arch/sparc/prom | |
parent | 154337688bfa970453836e65a27de011aba55331 (diff) | |
download | op-kernel-dev-bce5feeab418fb1df9ce1c3fcc14f0aacf740208.zip op-kernel-dev-bce5feeab418fb1df9ce1c3fcc14f0aacf740208.tar.gz |
sparc: Eliminate prom_stdin.
Completely unused.
Based upon a patch by Julian Calaby.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/prom')
-rw-r--r-- | arch/sparc/prom/console_64.c | 2 | ||||
-rw-r--r-- | arch/sparc/prom/init_64.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc/prom/console_64.c b/arch/sparc/prom/console_64.c index ed39e75..9de6c8c 100644 --- a/arch/sparc/prom/console_64.c +++ b/arch/sparc/prom/console_64.c @@ -13,8 +13,6 @@ #include <asm/system.h> #include <linux/string.h> -extern int prom_stdin, prom_stdout; - static int __prom_console_write_buf(const char *buf, int len) { unsigned long args[7]; diff --git a/arch/sparc/prom/init_64.c b/arch/sparc/prom/init_64.c index 3ff911e..9c6ac4b 100644 --- a/arch/sparc/prom/init_64.c +++ b/arch/sparc/prom/init_64.c @@ -18,7 +18,7 @@ char prom_version[80]; /* The root node of the prom device tree. */ -int prom_stdin, prom_stdout; +int prom_stdout; phandle prom_chosen_node; /* You must call prom_init() before you attempt to use any of the @@ -38,7 +38,6 @@ void __init prom_init(void *cif_handler, void *cif_stack) if (!prom_chosen_node || prom_chosen_node == -1) prom_halt(); - prom_stdin = prom_getint(prom_chosen_node, "stdin"); prom_stdout = prom_getint(prom_chosen_node, "stdout"); node = prom_finddevice("/openprom"); |