diff options
-rw-r--r-- | arch/sparc/prom/init.c | 7 | ||||
-rw-r--r-- | include/asm-sparc/oplib.h | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc/prom/init.c b/arch/sparc/prom/init.c index 50abfb1b880e..2fa3a474e3a2 100644 --- a/arch/sparc/prom/init.c +++ b/arch/sparc/prom/init.c | |||
@@ -21,8 +21,6 @@ linux_sun4_romvec *sun4_romvec; | |||
21 | /* The root node of the prom device tree. */ | 21 | /* The root node of the prom device tree. */ |
22 | int prom_root_node; | 22 | int prom_root_node; |
23 | 23 | ||
24 | int prom_stdin, prom_stdout; | ||
25 | |||
26 | /* Pointer to the device tree operations structure. */ | 24 | /* Pointer to the device tree operations structure. */ |
27 | struct linux_nodeops *prom_nodeops; | 25 | struct linux_nodeops *prom_nodeops; |
28 | 26 | ||
@@ -74,11 +72,6 @@ void __init prom_init(struct linux_romvec *rp) | |||
74 | (((unsigned long) prom_nodeops) == -1)) | 72 | (((unsigned long) prom_nodeops) == -1)) |
75 | prom_halt(); | 73 | prom_halt(); |
76 | 74 | ||
77 | if(prom_vers == PROM_V2 || prom_vers == PROM_V3) { | ||
78 | prom_stdout = *romvec->pv_v2bootargs.fd_stdout; | ||
79 | prom_stdin = *romvec->pv_v2bootargs.fd_stdin; | ||
80 | } | ||
81 | |||
82 | prom_meminit(); | 75 | prom_meminit(); |
83 | 76 | ||
84 | prom_ranges_init(); | 77 | prom_ranges_init(); |
diff --git a/include/asm-sparc/oplib.h b/include/asm-sparc/oplib.h index 22dc39d97b4e..7becc846544a 100644 --- a/include/asm-sparc/oplib.h +++ b/include/asm-sparc/oplib.h | |||
@@ -34,9 +34,6 @@ extern unsigned int prom_rev, prom_prev; | |||
34 | */ | 34 | */ |
35 | extern int prom_root_node; | 35 | extern int prom_root_node; |
36 | 36 | ||
37 | /* PROM stdin and stdout */ | ||
38 | extern int prom_stdin, prom_stdout; | ||
39 | |||
40 | /* Pointer to prom structure containing the device tree traversal | 37 | /* Pointer to prom structure containing the device tree traversal |
41 | * and usage utility functions. Only prom-lib should use these, | 38 | * and usage utility functions. Only prom-lib should use these, |
42 | * users use the interface defined by the library only! | 39 | * users use the interface defined by the library only! |