wimax: Fix redundant if-else condition

This commit is contained in:
Eduardo Almeida
2022-12-02 21:14:43 +00:00
committed by Tommaso Pecorella
parent 8b4c39d528
commit e28f353cda

View File

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