Date: Mon, 9 Jun 2008 18:58:45 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 143210 for review Message-ID: <200806091858.m59IwjUU008262@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143210 Change 143210 by hselasky@hselasky_laptop001 on 2008/06/09 18:58:08 Fix a compile warning: Remove unused parameter from function. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/if_zyd.c#41 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/if_zyd.c#41 (text+ko) ==== @@ -132,7 +132,7 @@ static void zyd_cfg_rf_al2230_init_b(struct zyd_softc *sc, struct zyd_rf *rf); static void zyd_cfg_rf_al2230_set_channel(struct zyd_softc *sc, struct zyd_rf *rf, uint8_t channel); static uint8_t zyd_cfg_rf_init_hw(struct zyd_softc *sc, struct zyd_rf *rf); -static uint8_t zyd_cfg_hw_init(struct zyd_softc *sc, struct ieee80211com *ic); +static uint8_t zyd_cfg_hw_init(struct zyd_softc *sc); static void zyd_cfg_set_mac_addr(struct zyd_softc *sc, const uint8_t *addr); static void zyd_cfg_switch_radio(struct zyd_softc *sc, uint8_t onoff); static void zyd_cfg_set_bssid(struct zyd_softc *sc, uint8_t *addr); @@ -1730,7 +1730,7 @@ * Init the hardware */ static uint8_t -zyd_cfg_hw_init(struct zyd_softc *sc, struct ieee80211com *ic) +zyd_cfg_hw_init(struct zyd_softc *sc) { const struct zyd_phy_pair *phyp; uint32_t tmp; @@ -1948,7 +1948,7 @@ zyd_cfg_read_eeprom(sc); /* Init hardware */ - if (zyd_cfg_hw_init(sc, ic)) { + if (zyd_cfg_hw_init(sc)) { printf("%s: HW init failed!\n", sc->sc_name); return; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806091858.m59IwjUU008262>