wimax: Fix redundant if-else condition
This commit is contained in:
committed by
Tommaso Pecorella
parent
8b4c39d528
commit
e28f353cda
@@ -1001,18 +1001,9 @@ BaseStationNetDevice::SendBursts()
|
||||
if (cid != GetInitialRangingConnection()->GetCid() &&
|
||||
cid != GetBroadcastConnection()->GetCid())
|
||||
{
|
||||
if (m_serviceFlowManager->GetServiceFlow(cid) != nullptr)
|
||||
{
|
||||
modulationType =
|
||||
GetBurstProfileManager()->GetModulationType(diuc,
|
||||
WimaxNetDevice::DIRECTION_DOWNLINK);
|
||||
}
|
||||
else
|
||||
{
|
||||
modulationType =
|
||||
GetBurstProfileManager()->GetModulationType(diuc,
|
||||
WimaxNetDevice::DIRECTION_DOWNLINK);
|
||||
}
|
||||
modulationType =
|
||||
GetBurstProfileManager()->GetModulationType(diuc,
|
||||
WimaxNetDevice::DIRECTION_DOWNLINK);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user