Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Fix compile error.



details:   https://anonhg.NetBSD.org/src/rev/1d8ba5d8fc22
branches:  trunk
changeset: 450698:1d8ba5d8fc22
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Apr 23 03:36:45 2019 +0000

description:
Fix compile error.

diffstat:

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

diffs (27 lines):

diff -r 042b2751291c -r 1d8ba5d8fc22 sys/dev/ic/lan9118.c
--- a/sys/dev/ic/lan9118.c      Mon Apr 22 21:58:56 2019 +0000
+++ b/sys/dev/ic/lan9118.c      Tue Apr 23 03:36:45 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lan9118.c,v 1.30 2019/04/22 08:05:01 msaitoh Exp $     */
+/*     $NetBSD: lan9118.c,v 1.31 2019/04/23 03:36:45 msaitoh Exp $     */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lan9118.c,v 1.30 2019/04/22 08:05:01 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lan9118.c,v 1.31 2019/04/23 03:36:45 msaitoh Exp $");
 
 /*
  * The LAN9118 Family
@@ -479,8 +479,6 @@
 lan9118_ioctl(struct ifnet *ifp, u_long command, void *data)
 {
        struct lan9118_softc *sc = ifp->if_softc;
-       struct ifreq *ifr = data;
-       struct mii_data *mii = &sc->sc_mii;
        int s, error = 0;
 
        s = splnet();



Home | Main Index | Thread Index | Old Index