summaryrefslogtreecommitdiff
path: root/drivers/staging/cw1200/ap.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/cw1200/ap.c')
-rw-r--r--drivers/staging/cw1200/ap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/cw1200/ap.c b/drivers/staging/cw1200/ap.c
index 9f7f38681c1..fb903ad285a 100644
--- a/drivers/staging/cw1200/ap.c
+++ b/drivers/staging/cw1200/ap.c
@@ -154,8 +154,6 @@ void cw1200_sta_notify(struct ieee80211_hw *dev,
static void cw1200_ps_notify(struct cw1200_common *priv,
int link_id, bool ps)
{
- struct ieee80211_sta *sta;
-
if (link_id > CW1200_MAX_STA_IN_AP_MODE)
return;