removed useless LteNetDevice:m_phyMacTxStartCallback

This commit is contained in:
Nicola Baldo
2011-05-03 13:51:07 +02:00
parent 28a51e00fd
commit f9e816543c
2 changed files with 1 additions and 17 deletions

View File

@@ -76,7 +76,6 @@ LteNetDevice::DoDispose (void)
NS_LOG_FUNCTION (this);
m_node = 0;
m_phyMacTxStartCallback = MakeNullCallback< bool, Ptr<Packet> > ();
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<Packet> p)
{

View File

@@ -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;