summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-02-27 21:50:15 +0000
committerthompsa <thompsa@FreeBSD.org>2009-02-27 21:50:15 +0000
commit8dd229ff640818d43a7a6e64f0cdbb9046211941 (patch)
tree83eb2baf4f183495f43790a3563ec245a8f3967a /sys/dev/usb
parent4e68a558e548ff07dbc3af038059026d8fb048c7 (diff)
downloadFreeBSD-src-8dd229ff640818d43a7a6e64f0cdbb9046211941.zip
FreeBSD-src-8dd229ff640818d43a7a6e64f0cdbb9046211941.tar.gz
Remove ic_update_mcast calls that are not implemented.
Spotted by: sam Pointy hat: me
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/wlan/if_rum.c8
-rw-r--r--sys/dev/usb/wlan/if_ural.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c
index b164ef2..1bc3083 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;
@@ -1874,12 +1872,6 @@ rum_promisctask(struct usb2_proc_msg *pm)
}
static void
-rum_update_mcast(struct ifnet *ifp)
-{
- /* not supported */
-}
-
-static void
rum_update_promisc(struct ifnet *ifp)
{
struct rum_softc *sc = ifp->if_softc;
diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c
index 8db1bda..28990da 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;
@@ -2027,12 +2025,6 @@ ural_promisctask(struct usb2_proc_msg *pm)
}
static void
-ural_update_mcast(struct ifnet *ifp)
-{
- /* not supported */
-}
-
-static void
ural_update_promisc(struct ifnet *ifp)
{
struct ural_softc *sc = ifp->if_softc;
OpenPOWER on IntegriCloud