diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-01 13:03:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-13 08:55:34 +0200 |
commit | 70b727314f90765c9267e1e1882b5b01fba5201b (patch) | |
tree | 2f7fe948d98d99804fa2bc7650f7c93c0eca667b /drivers | |
parent | 365fdf7e3e77e23cd145161219e3b25a839855c0 (diff) | |
download | linux-70b727314f90765c9267e1e1882b5b01fba5201b.tar.bz2 |
staging: wfx: drop useless queue_id field
The field queue_id is no more used.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200401110405.80282-7-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wfx/queue.c | 4 | ||||
-rw-r--r-- | drivers/staging/wfx/queue.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/wfx/queue.c b/drivers/staging/wfx/queue.c index 712ac783514b..1df3b6f28c67 100644 --- a/drivers/staging/wfx/queue.c +++ b/drivers/staging/wfx/queue.c @@ -134,10 +134,8 @@ void wfx_tx_queues_init(struct wfx_dev *wdev) skb_queue_head_init(&wdev->tx_queue_stats.pending); init_waitqueue_head(&wdev->tx_queue_stats.wait_link_id_empty); - for (i = 0; i < IEEE80211_NUM_ACS; ++i) { - wdev->tx_queue[i].queue_id = i; + for (i = 0; i < IEEE80211_NUM_ACS; ++i) skb_queue_head_init(&wdev->tx_queue[i].queue); - } } void wfx_tx_queues_deinit(struct wfx_dev *wdev) diff --git a/drivers/staging/wfx/queue.h b/drivers/staging/wfx/queue.h index 88ee2bf56d11..2284fa64b625 100644 --- a/drivers/staging/wfx/queue.h +++ b/drivers/staging/wfx/queue.h @@ -24,7 +24,6 @@ struct wfx_vif; struct wfx_queue { struct sk_buff_head queue; int link_map_cache[WFX_LINK_ID_MAX]; - u8 queue_id; }; struct wfx_queue_stats { |