summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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