Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mac68k/dev Remove an unused variable



details:   https://anonhg.NetBSD.org/src/rev/f0ea9e51d4ed
branches:  trunk
changeset: 790720:f0ea9e51d4ed
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 19 19:47:55 2013 +0000

description:
Remove an unused variable

diffstat:

 sys/arch/mac68k/dev/if_mc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 232f65ab2148 -r f0ea9e51d4ed sys/arch/mac68k/dev/if_mc.c
--- a/sys/arch/mac68k/dev/if_mc.c       Sat Oct 19 19:40:23 2013 +0000
+++ b/sys/arch/mac68k/dev/if_mc.c       Sat Oct 19 19:47:55 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mc.c,v 1.39 2012/10/27 17:17:59 chs Exp $   */
+/*     $NetBSD: if_mc.c,v 1.40 2013/10/19 19:47:55 martin Exp $        */
 
 /*-
  * Copyright (c) 1997 David Huang <khym%azeotrope.org@localhost>
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.39 2012/10/27 17:17:59 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.40 2013/10/19 19:47:55 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_inet.h"
@@ -471,9 +471,9 @@
 integrate void
 mc_tint(struct mc_softc *sc)
 {
-       u_int8_t xmtrc, xmtfs;
+       u_int8_t /* xmtrc,*/ xmtfs;
 
-       xmtrc = NIC_GET(sc, MACE_XMTRC);
+       /* xmtrc = */ NIC_GET(sc, MACE_XMTRC);
        xmtfs = NIC_GET(sc, MACE_XMTFS);
 
        if ((xmtfs & XMTSV) == 0)



Home | Main Index | Thread Index | Old Index