Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sandpoint/sandpoint Remove redundant declarations.



details:   https://anonhg.NetBSD.org/src/rev/be576e216e4b
branches:  trunk
changeset: 526888:be576e216e4b
user:      matt <matt%NetBSD.org@localhost>
date:      Mon May 13 06:41:30 2002 +0000

description:
Remove redundant declarations.

diffstat:

 sys/arch/sandpoint/sandpoint/extintr.c |  4 ++--
 sys/arch/sandpoint/sandpoint/machdep.c |  7 +------
 2 files changed, 3 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 852c2bce90ca -r be576e216e4b sys/arch/sandpoint/sandpoint/extintr.c
--- a/sys/arch/sandpoint/sandpoint/extintr.c    Mon May 13 06:38:14 2002 +0000
+++ b/sys/arch/sandpoint/sandpoint/extintr.c    Mon May 13 06:41:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extintr.c,v 1.3 2001/08/30 02:08:45 briggs Exp $       */
+/*     $NetBSD: extintr.c,v 1.4 2002/05/13 06:41:30 matt Exp $ */
 
 /*-
  * Copyright (c) 1995 Per Fogelstrom
@@ -64,7 +64,7 @@
 #endif
 
 unsigned int imen = 0xffffffff;
-volatile int cpl, ipending, astpending, tickspending;
+volatile int cpl, ipending, tickspending;
 int imask[NIPL];
 int intrtype[ICU_LEN], intrmask[ICU_LEN], intrlevel[ICU_LEN];
 struct intrhand *intrhand[ICU_LEN];
diff -r 852c2bce90ca -r be576e216e4b sys/arch/sandpoint/sandpoint/machdep.c
--- a/sys/arch/sandpoint/sandpoint/machdep.c    Mon May 13 06:38:14 2002 +0000
+++ b/sys/arch/sandpoint/sandpoint/machdep.c    Mon May 13 06:41:30 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.18 2002/04/23 12:41:08 kleink Exp $      */
+/*     $NetBSD: machdep.c,v 1.19 2002/05/13 06:41:30 matt Exp $        */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -114,9 +114,6 @@
 char machine[] = MACHINE;              /* machine */
 char machine_arch[] = MACHINE_ARCH;    /* machine architecture */
 
-/* Our exported CPU info; we have only one right now. */  
-struct cpu_info cpu_info_store;
-
 struct pcb *curpcb;
 struct pmap *curpm;
 struct proc *fpuproc;
@@ -128,8 +125,6 @@
 #define        OFMEMREGIONS    32
 struct mem_region physmemr[OFMEMREGIONS], availmemr[OFMEMREGIONS];
 
-int astpending;
-
 char *bootpath;
 unsigned char *eumb_base;
 



Home | Main Index | Thread Index | Old Index