Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/virtex/dev Remove unused variable, makes VIR...



details:   https://anonhg.NetBSD.org/src/rev/2153a6969c7b
branches:  trunk
changeset: 750432:2153a6969c7b
user:      freza <freza%NetBSD.org@localhost>
date:      Thu Dec 31 13:10:46 2009 +0000

description:
Remove unused variable, makes VIRTEX_* kernels compile again.

diffstat:

 sys/arch/evbppc/virtex/dev/if_temac.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 1f2c1d6e967f -r 2153a6969c7b sys/arch/evbppc/virtex/dev/if_temac.c
--- a/sys/arch/evbppc/virtex/dev/if_temac.c     Thu Dec 31 10:12:51 2009 +0000
+++ b/sys/arch/evbppc/virtex/dev/if_temac.c     Thu Dec 31 13:10:46 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_temac.c,v 1.4 2008/02/12 18:03:43 dyoung Exp $ */
+/*     $NetBSD: if_temac.c,v 1.5 2009/12/31 13:10:46 freza Exp $ */
 
 /*
  * Copyright (c) 2006 Jachym Holecek
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.4 2008/02/12 18:03:43 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.5 2009/12/31 13:10:46 freza Exp $");
 
 #include "bpfilter.h"
 
@@ -649,7 +649,6 @@
 temac_ioctl(struct ifnet *ifp, u_long cmd, void *data)
 {
        struct temac_softc      *sc = (struct temac_softc *)ifp->if_softc;
-       struct ifreq            *ifr = (struct ifreq *)data;
        int                     s, ret;
 
        s = splnet();



Home | Main Index | Thread Index | Old Index