PERFORCE change 143210 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Jun 9 18:58:46 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=143210

Change 143210 by hselasky at 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;
 	}


More information about the p4-projects mailing list