From dae6bbca5b0b113049fed90494dea2c9ece07aa4 Mon Sep 17 00:00:00 2001 From: Stefano Avallone Date: Wed, 29 Sep 2021 11:19:50 +0200 Subject: [PATCH] wifi: Iterators to queued items are not exposed by WifiMacQueueItem --- src/wifi/model/wifi-mac-queue-item.cc | 7 ------- src/wifi/model/wifi-mac-queue-item.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/src/wifi/model/wifi-mac-queue-item.cc b/src/wifi/model/wifi-mac-queue-item.cc index 9b09fd73e..ad53a8c65 100644 --- a/src/wifi/model/wifi-mac-queue-item.cc +++ b/src/wifi/model/wifi-mac-queue-item.cc @@ -221,13 +221,6 @@ WifiMacQueueItem::GetQueueAc (void) const return m_queueAc; } -WifiMacQueueItem::ConstIterator -WifiMacQueueItem::GetQueueIterator (void) const -{ - NS_ASSERT (IsQueued ()); - return m_queueIt; -} - void WifiMacQueueItem::SetInFlight (void) { diff --git a/src/wifi/model/wifi-mac-queue-item.h b/src/wifi/model/wifi-mac-queue-item.h index 0b1544762..d2c188347 100644 --- a/src/wifi/model/wifi-mac-queue-item.h +++ b/src/wifi/model/wifi-mac-queue-item.h @@ -165,13 +165,6 @@ public: * \return the AC of the queue this item is stored into */ AcIndex GetQueueAc (void) const; - /** - * Get a const iterator pointing to the position of the MPDU in the queue. This - * method should not be called if the MPDU is not stored in a queue. - * - * \return an iterator pointing to the position of the MPDU in the queue - */ - ConstIterator GetQueueIterator (void) const; /** * \brief Get the MAC protocol data unit (MPDU) corresponding to this item