Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci sprinkle __diagused
details: https://anonhg.NetBSD.org/src/rev/93472bea563f
branches: trunk
changeset: 340996:93472bea563f
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 13 21:28:41 2015 +0000
description:
sprinkle __diagused
diffstat:
sys/dev/pci/if_wm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r d060174bc8c0 -r 93472bea563f sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Tue Oct 13 21:28:34 2015 +0000
+++ b/sys/dev/pci/if_wm.c Tue Oct 13 21:28:41 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.369 2015/10/13 10:26:21 knakahara Exp $ */
+/* $NetBSD: if_wm.c,v 1.370 2015/10/13 21:28:41 christos Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -83,7 +83,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.369 2015/10/13 10:26:21 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.370 2015/10/13 21:28:41 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -9314,7 +9314,7 @@
static void
wm_tbi_tick(struct wm_softc *sc)
{
- struct wm_txqueue *txq = &sc->sc_txq[0];
+ struct wm_txqueue *txq __diagused = &sc->sc_txq[0];
struct mii_data *mii = &sc->sc_mii;
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
uint32_t status;
@@ -9522,7 +9522,7 @@
static void
wm_serdes_tick(struct wm_softc *sc)
{
- struct wm_txqueue *txq = &sc->sc_txq[0];
+ struct wm_txqueue *txq __diagused = &sc->sc_txq[0];
struct ifnet *ifp = &sc->sc_ethercom.ec_if;
struct mii_data *mii = &sc->sc_mii;
struct ifmedia_entry *ife = mii->mii_media.ifm_cur;
Home |
Main Index |
Thread Index |
Old Index