Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic make it compilable: delete unused variable 'ifa' ...



details:   https://anonhg.NetBSD.org/src/rev/c38a1a9cf068
branches:  trunk
changeset: 511357:c38a1a9cf068
user:      onoe <onoe%NetBSD.org@localhost>
date:      Mon Jun 18 13:47:18 2001 +0000

description:
make it compilable: delete unused variable 'ifa' from lance_ioctl()

diffstat:

 sys/dev/ic/lance.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r a46e2d31280a -r c38a1a9cf068 sys/dev/ic/lance.c
--- a/sys/dev/ic/lance.c        Mon Jun 18 13:21:24 2001 +0000
+++ b/sys/dev/ic/lance.c        Mon Jun 18 13:47:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lance.c,v 1.20 2001/06/18 11:06:26 jdolecek Exp $      */
+/*     $NetBSD: lance.c,v 1.21 2001/06/18 13:47:18 onoe Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -566,7 +566,6 @@
        caddr_t data;
 {
        struct lance_softc *sc = ifp->if_softc;
-       struct ifaddr *ifa = (struct ifaddr *)data;
        struct ifreq *ifr = (struct ifreq *)data;
        int s, error = 0;
 



Home | Main Index | Thread Index | Old Index