aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00queue.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c
index fcaacc6dc0f1..4b3c70eeef1f 100644
--- a/drivers/net/wireless/rt2x00/rt2x00queue.c
+++ b/drivers/net/wireless/rt2x00/rt2x00queue.c
@@ -705,25 +705,6 @@ void rt2x00queue_for_each_entry(struct data_queue *queue,
705} 705}
706EXPORT_SYMBOL_GPL(rt2x00queue_for_each_entry); 706EXPORT_SYMBOL_GPL(rt2x00queue_for_each_entry);
707 707
708struct data_queue *rt2x00queue_get_queue(struct rt2x00_dev *rt2x00dev,
709 const enum data_queue_qid queue)
710{
711 if (queue == QID_RX)
712 return rt2x00dev->rx;
713
714 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx)
715 return &rt2x00dev->tx[queue];
716
717 if (queue == QID_BEACON)
718 return rt2x00dev->bcn;
719
720 if (queue == QID_ATIM)
721 return rt2x00dev->atim;
722
723 return NULL;
724}
725EXPORT_SYMBOL_GPL(rt2x00queue_get_queue);
726
727struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue, 708struct queue_entry *rt2x00queue_get_entry(struct data_queue *queue,
728 enum queue_index index) 709 enum queue_index index)
729{ 710{