Skip to content

Commit

Permalink
sparc32: Delete prom_stdin and prom_stdout.
Browse files Browse the repository at this point in the history
They are written, but never used.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 2, 2008
1 parent 9f2b2a5 commit 4a1236a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
7 changes: 0 additions & 7 deletions arch/sparc/prom/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ linux_sun4_romvec *sun4_romvec;
/* The root node of the prom device tree. */
int prom_root_node;

int prom_stdin, prom_stdout;

/* Pointer to the device tree operations structure. */
struct linux_nodeops *prom_nodeops;

Expand Down Expand Up @@ -74,11 +72,6 @@ void __init prom_init(struct linux_romvec *rp)
(((unsigned long) prom_nodeops) == -1))
prom_halt();

if(prom_vers == PROM_V2 || prom_vers == PROM_V3) {
prom_stdout = *romvec->pv_v2bootargs.fd_stdout;
prom_stdin = *romvec->pv_v2bootargs.fd_stdin;
}

prom_meminit();

prom_ranges_init();
Expand Down
3 changes: 0 additions & 3 deletions include/asm-sparc/oplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ extern unsigned int prom_rev, prom_prev;
*/
extern int prom_root_node;

/* PROM stdin and stdout */
extern int prom_stdin, prom_stdout;

/* Pointer to prom structure containing the device tree traversal
* and usage utility functions. Only prom-lib should use these,
* users use the interface defined by the library only!
Expand Down

0 comments on commit 4a1236a

Please sign in to comment.