From 4a1236ac6ee3bb3a2f585e66871de3c39ab38f7c Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 1 May 2008 22:33:04 -0700 Subject: sparc32: Delete prom_stdin and prom_stdout. They are written, but never used. Signed-off-by: David S. Miller --- arch/sparc/prom/init.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'arch/sparc/prom') diff --git a/arch/sparc/prom/init.c b/arch/sparc/prom/init.c index 50abfb1b880..2fa3a474e3a 100644 --- a/arch/sparc/prom/init.c +++ b/arch/sparc/prom/init.c @@ -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; @@ -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(); -- cgit v1.2.3-18-g5258