From f9e816543c6ef08f54b3f4501e89d3832cdb75fb Mon Sep 17 00:00:00 2001 From: Nicola Baldo Date: Tue, 3 May 2011 13:51:07 +0200 Subject: [PATCH] removed useless LteNetDevice:m_phyMacTxStartCallback --- src/lte/model/lte-net-device.cc | 9 --------- src/lte/model/lte-net-device.h | 9 +-------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/lte/model/lte-net-device.cc b/src/lte/model/lte-net-device.cc index 52f50f00b..5ffa10226 100644 --- a/src/lte/model/lte-net-device.cc +++ b/src/lte/model/lte-net-device.cc @@ -76,7 +76,6 @@ LteNetDevice::DoDispose (void) NS_LOG_FUNCTION (this); m_node = 0; - m_phyMacTxStartCallback = MakeNullCallback< bool, Ptr > (); NetDevice::DoDispose (); } @@ -184,14 +183,6 @@ LteNetDevice::SupportsSendFrom (void) const } -void -LteNetDevice::SetGenericPhyTxStartCallback (GenericPhyTxStartCallback c) -{ - NS_LOG_FUNCTION (this); - m_phyMacTxStartCallback = c; -} - - void LteNetDevice::Receive (Ptr p) { diff --git a/src/lte/model/lte-net-device.h b/src/lte/model/lte-net-device.h index b668f94af..1a176a8f6 100644 --- a/src/lte/model/lte-net-device.h +++ b/src/lte/model/lte-net-device.h @@ -51,13 +51,6 @@ public: virtual void DoDispose (void); - /** - * \brief set the callback used to instruct the lower layer to start a TX - * \param c - */ - void SetGenericPhyTxStartCallback (GenericPhyTxStartCallback c); - - // inherited from NetDevice virtual void SetIfIndex (const uint32_t index); virtual uint32_t GetIfIndex (void) const; @@ -139,7 +132,7 @@ private: NetDevice::ReceiveCallback m_rxCallback; NetDevice::PromiscReceiveCallback m_promiscRxCallback; - GenericPhyTxStartCallback m_phyMacTxStartCallback; + TracedCallback<> m_linkChangeCallbacks; uint32_t m_ifIndex;