Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic We don't need '&mii', but just 'mii' for mii_deta...
details: https://anonhg.NetBSD.org/src/rev/39b1662de9fc
branches: trunk
changeset: 357027:39b1662de9fc
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon Oct 23 15:08:05 2017 +0000
description:
We don't need '&mii', but just 'mii' for mii_detach().
diffstat:
sys/dev/ic/dwc_gmac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0c3a1cf50ccf -r 39b1662de9fc sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c Mon Oct 23 13:47:17 2017 +0000
+++ b/sys/dev/ic/dwc_gmac.c Mon Oct 23 15:08:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.41 2017/10/23 09:27:46 msaitoh Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.42 2017/10/23 15:08:05 jakllsch Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.41 2017/10/23 09:27:46 msaitoh Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.42 2017/10/23 15:08:05 jakllsch Exp $");
/* #define DWC_GMAC_DEBUG 1 */
@@ -282,7 +282,7 @@
return;
fail_2:
ifmedia_removeall(&mii->mii_media);
- mii_detach(&mii, MII_PHY_ANY, MII_OFFSET_ANY);
+ mii_detach(mii, MII_PHY_ANY, MII_OFFSET_ANY);
mutex_destroy(&sc->sc_txq.t_mtx);
mutex_destroy(&sc->sc_rxq.r_mtx);
mutex_obj_free(sc->sc_lock);
Home |
Main Index |
Thread Index |
Old Index