Removed redundant condition

This commit is contained in:
Xavier Arteaga 2017-09-05 17:50:20 +02:00 committed by Ismael Gomez
parent 8661503d59
commit 8eab3b4688
1 changed files with 11 additions and 13 deletions

View File

@ -301,7 +301,6 @@ private:
harq_entity->pcap->write_dl_crnti(payload_buffer_ptr, cur_grant.n_bytes[tid], cur_grant.rnti, ack, harq_entity->pcap->write_dl_crnti(payload_buffer_ptr, cur_grant.n_bytes[tid], cur_grant.rnti, ack,
cur_grant.tti); cur_grant.tti);
} }
if (ack) {
if (cur_grant.rnti_type == SRSLTE_RNTI_TEMP) { if (cur_grant.rnti_type == SRSLTE_RNTI_TEMP) {
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit (Temporal C-RNTI)\n", Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit (Temporal C-RNTI)\n",
cur_grant.n_bytes[tid]); cur_grant.n_bytes[tid]);
@ -316,7 +315,6 @@ private:
harq_entity->nof_pkts++); harq_entity->nof_pkts++);
} }
} }
}
} else { } else {
harq_entity->demux_unit->deallocate(payload_buffer_ptr); harq_entity->demux_unit->deallocate(payload_buffer_ptr);
} }