From a09d8d7315071ef1b05163ea3cb3e0526ff89e2d Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Fri, 27 Feb 2009 21:50:15 +0000 Subject: [PATCH] Remove ic_update_mcast calls that are not implemented. Spotted by: sam Pointy hat: me --- sys/dev/usb/wlan/if_rum.c | 8 -------- sys/dev/usb/wlan/if_ural.c | 8 -------- 2 files changed, 16 deletions(-) diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c index b164ef22008..1bc30837743 100644 --- a/sys/dev/usb/wlan/if_rum.c +++ b/sys/dev/usb/wlan/if_rum.c @@ -172,7 +172,6 @@ static void rum_enable_tsf_sync(struct rum_softc *); static void rum_update_slot(struct ifnet *); static void rum_set_bssid(struct rum_softc *, const uint8_t *); static void rum_set_macaddr(struct rum_softc *, const uint8_t *); -static void rum_update_mcast(struct ifnet *); static void rum_update_promisc(struct ifnet *); static const char *rum_get_rf(int); static void rum_read_eeprom(struct rum_softc *); @@ -518,7 +517,6 @@ rum_attach_post(struct usb2_proc_msg *pm) ieee80211_init_channels(ic, NULL, &bands); ieee80211_ifattach(ic); - ic->ic_update_mcast = rum_update_mcast; ic->ic_update_promisc = rum_update_promisc; ic->ic_newassoc = rum_newassoc; ic->ic_raw_xmit = rum_raw_xmit; @@ -1873,12 +1871,6 @@ rum_promisctask(struct usb2_proc_msg *pm) "entering" : "leaving"); } -static void -rum_update_mcast(struct ifnet *ifp) -{ - /* not supported */ -} - static void rum_update_promisc(struct ifnet *ifp) { diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c index 8db1bdab6cb..28990dadf22 100644 --- a/sys/dev/usb/wlan/if_ural.c +++ b/sys/dev/usb/wlan/if_ural.c @@ -155,7 +155,6 @@ static void ural_set_basicrates(struct ural_softc *, const struct ieee80211_channel *); static void ural_set_bssid(struct ural_softc *, const uint8_t *); static void ural_set_macaddr(struct ural_softc *, uint8_t *); -static void ural_update_mcast(struct ifnet *); static void ural_update_promisc(struct ifnet *); static const char *ural_get_rf(int); static void ural_read_eeprom(struct ural_softc *); @@ -509,7 +508,6 @@ ural_attach_post(struct usb2_proc_msg *pm) ieee80211_init_channels(ic, NULL, &bands); ieee80211_ifattach(ic); - ic->ic_update_mcast = ural_update_mcast; ic->ic_update_promisc = ural_update_promisc; ic->ic_newassoc = ural_newassoc; ic->ic_raw_xmit = ural_raw_xmit; @@ -2026,12 +2024,6 @@ ural_promisctask(struct usb2_proc_msg *pm) "entering" : "leaving"); } -static void -ural_update_mcast(struct ifnet *ifp) -{ - /* not supported */ -} - static void ural_update_promisc(struct ifnet *ifp) {