aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukesh Srikakula <[email protected]>2011-05-13 11:59:48 +0200
committerGreg Kroah-Hartman <[email protected]>2011-05-17 12:12:37 -0700
commit1f3b0085ed4f944f5b365a9070dbeb40fdfa1c0a (patch)
tree8330689bcdbd261c1c449672b7fda35042d242d6
parent9446af065b0df786cfeb58d61efaf51945d0f3de (diff)
staging: brcm80211: Removed unused variable from brcmfmac driver
Removed unused variable from wl_profile structure Cc: [email protected] Cc: [email protected] Reviewed-by: Franky (Zhenhui) Lin <[email protected]> Reviewed-by: Brett Rudley <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c5
-rw-r--r--drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
index abdf8576d796..eb7f611b93ef 100644
--- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
+++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
@@ -4107,8 +4107,6 @@ static void *wl_read_prof(struct wl_priv *wl, s32 item)
switch (item) {
case WL_PROF_SEC:
return &wl->profile->sec;
- case WL_PROF_ACT:
- return &wl->profile->active;
case WL_PROF_BSSID:
return &wl->profile->bssid;
case WL_PROF_SSID:
@@ -4142,9 +4140,6 @@ wl_update_prof(struct wl_priv *wl, const wl_event_msg_t *e, void *data,
case WL_PROF_SEC:
memcpy(&wl->profile->sec, data, sizeof(wl->profile->sec));
break;
- case WL_PROF_ACT:
- wl->profile->active = *(bool *)data;
- break;
case WL_PROF_BEACONINT:
wl->profile->beacon_interval = *(u16 *)data;
break;
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
index ced637dbdb35..2e8e14dc4922 100644
--- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
+++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h
@@ -235,7 +235,6 @@ struct wl_profile {
struct wl_security sec;
struct wl_ibss ibss;
s32 band;
- bool active;
};
/* dongle iscan event loop */