Removed redundant condition

This commit is contained in:
Xavier Arteaga 2017-09-05 17:50:20 +02:00
parent 2296d736be
commit a8224e8cae
1 changed files with 11 additions and 13 deletions

View File

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