Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc Clean up unused variables.



details:   https://anonhg.NetBSD.org/src/rev/3192a144df18
branches:  trunk
changeset: 500751:3192a144df18
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Sun Dec 17 23:24:25 2000 +0000

description:
Clean up unused variables.

diffstat:

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

diffs (43 lines):

diff -r e23ad182eacf -r 3192a144df18 sys/arch/macppc/macppc/extintr.c
--- a/sys/arch/macppc/macppc/extintr.c  Sun Dec 17 23:16:22 2000 +0000
+++ b/sys/arch/macppc/macppc/extintr.c  Sun Dec 17 23:24:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extintr.c,v 1.18 2000/12/17 23:16:22 tsubai Exp $      */
+/*     $NetBSD: extintr.c,v 1.19 2000/12/17 23:24:25 tsubai Exp $      */
 
 /*-
  * Copyright (c) 1995 Per Fogelstrom
@@ -77,7 +77,7 @@
 static void do_pending_int __P((void));
 
 unsigned int imen = 0xffffffff;
-volatile int cpl, ipending, astpending;
+volatile int cpl, ipending;
 int imask[NIPL];
 
 int intrtype[NIRQ], intrmask[NIRQ], intrlevel[NIRQ];
diff -r e23ad182eacf -r 3192a144df18 sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c  Sun Dec 17 23:16:22 2000 +0000
+++ b/sys/arch/macppc/macppc/machdep.c  Sun Dec 17 23:24:25 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.87 2000/11/06 12:35:21 tsubai Exp $      */
+/*     $NetBSD: machdep.c,v 1.88 2000/12/17 23:24:26 tsubai Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -88,7 +88,6 @@
 extern int ofmsr;
 
 struct bat battable[16];
-int astpending;
 char bootpath[256];
 paddr_t msgbuf_paddr;
 static int chosen;
@@ -546,7 +545,6 @@
 {
        struct trapframe *tf = trapframe(p);
        struct ps_strings arginfo;
-       paddr_t pa;
 
        bzero(tf, sizeof *tf);
        tf->fixreg[1] = -roundup(-stack + 8, 16);



Home | Main Index | Thread Index | Old Index