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/staging/wfx/queue.c | |
parent | 365fdf7e3e77e23cd145161219e3b25a839855c0 (diff) |
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/staging/wfx/queue.c')
-rw-r--r-- | drivers/staging/wfx/queue.c | 4 |
1 files changed, 1 insertions, 3 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) |