summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-19 09:04:56 +0000
committerjhb <jhb@FreeBSD.org>2001-01-19 09:04:56 +0000
commit04ce24224947a7e839923764c348f2c50438d61d (patch)
treeb40ff62d202ae7448d5c6a4beb32e484004fc2ef /sys
parent3b688725f374fe1812878481c69abab7f412e278 (diff)
downloadFreeBSD-src-04ce24224947a7e839923764c348f2c50438d61d.zip
FreeBSD-src-04ce24224947a7e839923764c348f2c50438d61d.tar.gz
Warning police:
- Share the ex_stop() prototype in if_exvar.h - Remove an unused local variable.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ex/if_ex.c2
-rw-r--r--sys/dev/ex/if_exvar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c
index 3f2e0ea1..3ff0f5b 100644
--- a/sys/dev/ex/if_ex.c
+++ b/sys/dev/ex/if_ex.c
@@ -102,7 +102,6 @@ static void ex_ifmedia_sts __P((struct ifnet *, struct ifmediareq *));
static int ex_get_media __P((u_int32_t iobase));
- void ex_stop __P((struct ex_softc *));
static void ex_reset __P((struct ex_softc *));
static void ex_tx_intr __P((struct ex_softc *));
@@ -896,7 +895,6 @@ static int
ex_ifmedia_upd (ifp)
struct ifnet * ifp;
{
- struct ex_softc * sc = ifp->if_softc;
return (0);
}
diff --git a/sys/dev/ex/if_exvar.h b/sys/dev/ex/if_exvar.h
index f8c793a..840305d 100644
--- a/sys/dev/ex/if_exvar.h
+++ b/sys/dev/ex/if_exvar.h
@@ -83,3 +83,5 @@ u_int16_t eeprom_read (u_int32_t, int);
int look_for_card (u_int32_t);
void ex_get_address (u_int32_t, u_char *);
int ex_card_type (u_char *);
+
+void ex_stop (struct ex_softc *);
OpenPOWER on IntegriCloud