diff options
Diffstat (limited to 'drivers/staging/cw1200/sta.c')
-rw-r--r-- | drivers/staging/cw1200/sta.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/cw1200/sta.c b/drivers/staging/cw1200/sta.c index a540a592fdd..ef0f59dd7c4 100644 --- a/drivers/staging/cw1200/sta.c +++ b/drivers/staging/cw1200/sta.c @@ -26,9 +26,6 @@ #define sta_printk(...) #endif - -static int cw1200_cancel_scan(struct cw1200_common *priv); - static inline void __cw1200_free_event_queue(struct list_head *list) { while (!list_empty(list)) { @@ -1602,16 +1599,3 @@ void cw1200_ba_timer(unsigned long arg) skip_statistic_update: spin_unlock_bh(&priv->ba_lock); } - -/* ******************************************************************** */ -/* STA privates */ - -static int cw1200_cancel_scan(struct cw1200_common *priv) -{ - while (down_trylock(&priv->scan.lock)) { - priv->scan.req = NULL; - schedule(); - } - up(&priv->scan.lock); - return 0; -} |