diff -r 52904cc0aa8a src/spectrum/model/aloha-noack-net-device.cc --- a/src/spectrum/model/aloha-noack-net-device.cc Thu Nov 17 18:11:07 2011 +0000 +++ b/src/spectrum/model/aloha-noack-net-device.cc Mon Nov 28 20:30:50 2011 +0100 @@ -78,11 +78,6 @@ MakeUintegerAccessor (&AlohaNoackNetDevice::SetMtu, &AlohaNoackNetDevice::GetMtu), MakeUintegerChecker (1,65535)) - .AddAttribute ("Phy", "The PHY layer attached to this device.", - PointerValue (), - MakePointerAccessor (&AlohaNoackNetDevice::GetPhy, - &AlohaNoackNetDevice::SetPhy), - MakePointerChecker ()) .AddTraceSource ("MacTx", "Trace source indicating a packet has arrived for transmission by this device", MakeTraceSourceAccessor (&AlohaNoackNetDevice::m_macTxTrace)) diff -r 52904cc0aa8a src/spectrum/model/non-communicating-net-device.cc --- a/src/spectrum/model/non-communicating-net-device.cc Thu Nov 17 18:11:07 2011 +0000 +++ b/src/spectrum/model/non-communicating-net-device.cc Mon Nov 28 20:30:50 2011 +0100 @@ -44,11 +44,6 @@ static TypeId tid = TypeId ("ns3::NonCommunicatingNetDevice") .SetParent () .AddConstructor () - .AddAttribute ("Phy", "The PHY layer attached to this device.", - PointerValue (), - MakePointerAccessor (&NonCommunicatingNetDevice::GetPhy, - &NonCommunicatingNetDevice::SetPhy), - MakePointerChecker ()) ; return tid; }