Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/apbus Remove unnecessary debugging code. ...



details:   https://anonhg.NetBSD.org/src/rev/84199af30543
branches:  trunk
changeset: 479818:84199af30543
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Wed Dec 22 08:16:45 1999 +0000

description:
Remove unnecessary debugging code.  (not intended to commit)

diffstat:

 sys/arch/newsmips/apbus/if_sn.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 6a780e88a1ea -r 84199af30543 sys/arch/newsmips/apbus/if_sn.c
--- a/sys/arch/newsmips/apbus/if_sn.c   Wed Dec 22 06:51:15 1999 +0000
+++ b/sys/arch/newsmips/apbus/if_sn.c   Wed Dec 22 08:16:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sn.c,v 1.1 1999/12/22 05:55:24 tsubai Exp $ */
+/*     $NetBSD: if_sn.c,v 1.2 1999/12/22 08:16:45 tsubai Exp $ */
 
 /*
  * National Semiconductor  DP8393X SONIC Driver
@@ -548,7 +548,6 @@
        void    *txp;
        u_int   len = 0;
        u_int   totlen = 0;
-u_char *buff0;
 
 #ifdef whyonearthwouldyoudothis
        if (NIC_GET(sc, SNR_CR) & CR_TXP)
@@ -559,7 +558,6 @@
        mtdp = &sc->mtda[sc->mtd_free];
 
        buff = mtdp->mtd_buf;
-buff0 = buff;
        
        /* this packet goes to mtdnext fill in the TDA */
        mtdp->mtd_mbuf = m0;
@@ -905,7 +903,6 @@
                }
                snstart(&sc->sc_if);
        }
-
        return;
 }
 



Home | Main Index | Thread Index | Old Index