Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/31c4e8e31049
branches:  trunk
changeset: 789944:31c4e8e31049
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Sep 13 21:14:58 2013 +0000

description:
Remove unused variable

diffstat:

 sys/dev/pci/if_vge.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 3aa0e8d07cc6 -r 31c4e8e31049 sys/dev/pci/if_vge.c
--- a/sys/dev/pci/if_vge.c      Fri Sep 13 21:13:08 2013 +0000
+++ b/sys/dev/pci/if_vge.c      Fri Sep 13 21:14:58 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vge.c,v 1.54 2013/03/30 03:21:08 christos Exp $ */
+/* $NetBSD: if_vge.c,v 1.55 2013/09/13 21:14:58 martin Exp $ */
 
 /*-
  * Copyright (c) 2004
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.54 2013/03/30 03:21:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vge.c,v 1.55 2013/09/13 21:14:58 martin Exp $");
 
 /*
  * VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
@@ -2027,11 +2027,9 @@
 vge_ioctl(struct ifnet *ifp, u_long command, void *data)
 {
        struct vge_softc *sc;
-       struct ifreq *ifr;
        int s, error;
 
        sc = ifp->if_softc;
-       ifr = (struct ifreq *)data;
        error = 0;
 
        s = splnet();



Home | Main Index | Thread Index | Old Index