Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bce5feea authored by David S. Miller's avatar David S. Miller
Browse files

sparc: Eliminate prom_stdin.



Completely unused.

Based upon a patch by Julian Calaby.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 15433768
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,8 +18,8 @@ extern char prom_version[];
 */
extern phandle prom_root_node;

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

/* /chosen node of the prom device tree, this stays constant after
 * initialization is complete.
+0 −2
Original line number Diff line number Diff line
@@ -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];
+1 −2
Original line number Diff line number Diff line
@@ -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");