From owner-svn-src-all@FreeBSD.ORG Fri Feb 27 21:50:16 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BEF01065670; Fri, 27 Feb 2009 21:50:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5ED8FC08; Fri, 27 Feb 2009 21:50:16 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1RLoGr2084175; Fri, 27 Feb 2009 21:50:16 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1RLoGHB084173; Fri, 27 Feb 2009 21:50:16 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200902272150.n1RLoGHB084173@svn.freebsd.org> From: Andrew Thompson Date: Fri, 27 Feb 2009 21:50:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189124 - head/sys/dev/usb/wlan X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 21:50:16 -0000 Author: thompsa Date: Fri Feb 27 21:50:15 2009 New Revision: 189124 URL: http://svn.freebsd.org/changeset/base/189124 Log: Remove ic_update_mcast calls that are not implemented. Spotted by: sam Pointy hat: me Modified: head/sys/dev/usb/wlan/if_rum.c head/sys/dev/usb/wlan/if_ural.c Modified: head/sys/dev/usb/wlan/if_rum.c ============================================================================== --- head/sys/dev/usb/wlan/if_rum.c Fri Feb 27 21:14:29 2009 (r189123) +++ head/sys/dev/usb/wlan/if_rum.c Fri Feb 27 21:50:15 2009 (r189124) @@ -172,7 +172,6 @@ static void rum_enable_tsf_sync(struct 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; Modified: head/sys/dev/usb/wlan/if_ural.c ============================================================================== --- head/sys/dev/usb/wlan/if_ural.c Fri Feb 27 21:14:29 2009 (r189123) +++ head/sys/dev/usb/wlan/if_ural.c Fri Feb 27 21:50:15 2009 (r189124) @@ -155,7 +155,6 @@ static void ural_set_basicrates(struct 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 *p 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 *p } 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;