Skip to content

Commit

Permalink
staging: brcm80211: remove unused module from softmac driver
Browse files Browse the repository at this point in the history
The softmac driver contained an event queue mechanism which
was properly initialized and queried but no event are ever
posted to it. Therefor the module has been removed.

Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Mar 1, 2011
1 parent 371d72a commit b693380
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 333 deletions.
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ BRCMSMAC_OFILES := \
wlc_antsel.o \
wlc_bmac.o \
wlc_channel.o \
wlc_event.o \
wlc_mac80211.o \
wlc_phy_shim.o \
wlc_rate.o \
Expand Down
29 changes: 0 additions & 29 deletions drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -1590,35 +1590,6 @@ static void BCMFASTPATH wl_dpc(unsigned long data)
WL_UNLOCK(wl);
}

static void wl_link_up(struct wl_info *wl, char *ifname)
{
WL_NONE("wl%d: link up (%s)\n", wl->pub->unit, ifname);
}

static void wl_link_down(struct wl_info *wl, char *ifname)
{
WL_NONE("wl%d: link down (%s)\n", wl->pub->unit, ifname);
}

/*
* precondition: perimeter lock has been acquired
*/
void wl_event(struct wl_info *wl, char *ifname, wlc_event_t *e)
{

switch (e->event.event_type) {
case WLC_E_LINK:
case WLC_E_NDIS_LINK:
if (e->event.flags & WLC_EVENT_MSG_LINK)
wl_link_up(wl, ifname);
else
wl_link_down(wl, ifname);
break;
case WLC_E_RADIO:
break;
}
}

/*
* is called by the kernel from software irq context
*/
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <wlc_key.h>
#include <sbhndpio.h>
#include <sbhnddma.h>
#include <wlc_event.h>
#include <wlc_mac80211.h>
#include <wlc_alloc.h>
#include <wl_dbg.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <wlc_rate.h>
#include <wlc_pub.h>
#include <wlc_key.h>
#include <wlc_event.h>
#include <wlc_mac80211.h>
#include <wlc_phy_hal.h>
#include <wlc_antsel.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_antsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include <wlc_key.h>
#include <wlc_pub.h>
#include <wl_dbg.h>
#include <wlc_event.h>
#include <wlc_mac80211.h>
#include <wlc_bmac.h>
#include <wlc_phy_hal.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
* At some point we may be able to skip the include of wlc.h and instead just
* define a stub wlc_info and band struct to allow rpc calls to get the rpc handle.
*/
#include <wlc_event.h>
#include <wlc_mac80211.h>
#include <wlc_bmac.h>
#include <wlc_phy_shim.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/brcm80211/brcmsmac/wlc_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <wlioctl.h>
#include <wlc_pub.h>
#include <wlc_key.h>
#include <wlc_event.h>
#include <wlc_mac80211.h>
#include <wlc_bmac.h>
#include <wlc_stf.h>
Expand Down
203 changes: 0 additions & 203 deletions drivers/staging/brcm80211/brcmsmac/wlc_event.c

This file was deleted.

50 changes: 0 additions & 50 deletions drivers/staging/brcm80211/brcmsmac/wlc_event.h

This file was deleted.

Loading

0 comments on commit b693380

Please sign in to comment.