Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi remove unused mii to fix the build



details:   https://anonhg.NetBSD.org/src/rev/1aa26f1560d0
branches:  trunk
changeset: 456095:1aa26f1560d0
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Apr 22 14:53:51 2019 +0000

description:
remove unused mii to fix the build

diffstat:

 sys/arch/arm/sunxi/sunxi_emac.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5f8a19a9a230 -r 1aa26f1560d0 sys/arch/arm/sunxi/sunxi_emac.c
--- a/sys/arch/arm/sunxi/sunxi_emac.c   Mon Apr 22 13:27:39 2019 +0000
+++ b/sys/arch/arm/sunxi/sunxi_emac.c   Mon Apr 22 14:53:51 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_emac.c,v 1.24 2019/04/22 08:05:01 msaitoh Exp $ */
+/* $NetBSD: sunxi_emac.c,v 1.25 2019/04/22 14:53:51 maya Exp $ */
 
 /*-
  * Copyright (c) 2016-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
 #include "opt_net_mpsafe.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.24 2019/04/22 08:05:01 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_emac.c,v 1.25 2019/04/22 14:53:51 maya Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -908,7 +908,6 @@
 sunxi_emac_ioctl(struct ifnet *ifp, u_long cmd, void *data)
 {
        struct sunxi_emac_softc *sc = ifp->if_softc;
-       struct mii_data *mii = &sc->mii;
        int error, s;
 
 #ifndef EMAC_MPSAFE



Home | Main Index | Thread Index | Old Index