[mac] remove dead code (#3254)

This commit is contained in:
Zhanglong Xia
2018-11-05 08:32:37 -08:00
committed by Jonathan Hui
parent 9a1dc1eeae
commit f5fdf506ad
-6
View File
@@ -69,12 +69,6 @@ static const otExtendedPanId sExtendedPanidInit = {
};
static const char sNetworkNameInit[] = "OpenThread";
#ifdef _WIN32
const uint32_t kMinBackoffSum = kMinBackoff + (kUnitBackoffPeriod * OT_RADIO_SYMBOL_TIME * (1 << kMinBE)) / 1000;
const uint32_t kMaxBackoffSum = kMinBackoff + (kUnitBackoffPeriod * OT_RADIO_SYMBOL_TIME * (1 << kMaxBE)) / 1000;
static_assert(kMinBackoffSum > 0, "The min backoff value should be greater than zero!");
#endif
Mac::Mac(Instance &aInstance)
: InstanceLocator(aInstance)
, mOperation(kOperationIdle)