From 1d33852a1827972e8c9f861037d10ae3efa6269d Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 19 Jan 2001 09:04:56 +0000 Subject: [PATCH] Warning police: - Share the ex_stop() prototype in if_exvar.h - Remove an unused local variable. --- sys/dev/ex/if_ex.c | 2 -- sys/dev/ex/if_exvar.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 3f2e0ea13d60..3ff0f5be81d4 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 f8c793a45c50..840305dd558c 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 *);