Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove unused stuff



details:   https://anonhg.NetBSD.org/src/rev/b59c51890727
branches:  trunk
changeset: 790893:b59c51890727
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 21:29:28 2013 +0000

description:
Remove unused stuff

diffstat:

 sys/dev/ic/dp83932.c |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (53 lines):

diff -r ee9ccdb00a57 -r b59c51890727 sys/dev/ic/dp83932.c
--- a/sys/dev/ic/dp83932.c      Fri Oct 25 21:24:14 2013 +0000
+++ b/sys/dev/ic/dp83932.c      Fri Oct 25 21:29:28 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dp83932.c,v 1.35 2010/11/13 13:52:00 uebayasi Exp $    */
+/*     $NetBSD: dp83932.c,v 1.36 2013/10/25 21:29:28 martin Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dp83932.c,v 1.35 2010/11/13 13:52:00 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dp83932.c,v 1.36 2013/10/25 21:29:28 martin Exp $");
 
 
 #include <sys/param.h>
@@ -701,7 +701,7 @@
        struct sonic_rda16 *rda16;
        struct mbuf *m;
        int i, len;
-       uint16_t status, bytecount, ptr0, ptr1, seqno;
+       uint16_t status, bytecount /*, ptr0, ptr1, seqno */;
 
        for (i = sc->sc_rxptr;; i = SONIC_NEXTRX(i)) {
                ds = &sc->sc_rxsoft[i];
@@ -715,9 +715,9 @@
                                break;
                        status = sonic32toh(sc, rda32->rda_status);
                        bytecount = sonic32toh(sc, rda32->rda_bytecount);
-                       ptr0 = sonic32toh(sc, rda32->rda_pkt_ptr0);
-                       ptr1 = sonic32toh(sc, rda32->rda_pkt_ptr1);
-                       seqno = sonic32toh(sc, rda32->rda_seqno);
+                       /* ptr0 = sonic32toh(sc, rda32->rda_pkt_ptr0); */
+                       /* ptr1 = sonic32toh(sc, rda32->rda_pkt_ptr1); */
+                       /* seqno = sonic32toh(sc, rda32->rda_seqno); */
                } else {
                        SONIC_CDRXSYNC16(sc, i,
                            BUS_DMASYNC_POSTREAD|BUS_DMASYNC_POSTWRITE);
@@ -727,9 +727,9 @@
                                break;
                        status = sonic16toh(sc, rda16->rda_status);
                        bytecount = sonic16toh(sc, rda16->rda_bytecount);
-                       ptr0 = sonic16toh(sc, rda16->rda_pkt_ptr0);
-                       ptr1 = sonic16toh(sc, rda16->rda_pkt_ptr1);
-                       seqno = sonic16toh(sc, rda16->rda_seqno);
+                       /* ptr0 = sonic16toh(sc, rda16->rda_pkt_ptr0); */
+                       /* ptr1 = sonic16toh(sc, rda16->rda_pkt_ptr1); */
+                       /* seqno = sonic16toh(sc, rda16->rda_seqno); */
                }
 
                /*



Home | Main Index | Thread Index | Old Index