[13/13] net/bnxt: remove unnecessary ifdef
Checks
Commit Message
Remove the unnnecessary and useless compile-time option for IEEE 1588.
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
---
drivers/net/bnxt/bnxt_rxr.c | 8 --------
1 file changed, 8 deletions(-)
@@ -955,10 +955,6 @@ bnxt_set_ol_flags_crx(struct bnxt_rx_ring_info *rxr,
ol_flags |= RTE_MBUF_F_RX_RSS_HASH;
}
-#ifdef RTE_LIBRTE_IEEE1588
- /* TODO: TIMESTAMP flags need to be parsed and set. */
-#endif
-
mbuf->ol_flags = ol_flags;
}
@@ -1080,10 +1076,6 @@ static int bnxt_crx_pkt(struct rte_mbuf **rx_pkt,
mbuf->data_len = mbuf->pkt_len;
mbuf->port = rxq->port_id;
-#ifdef RTE_LIBRTE_IEEE1588
- /* TODO: Add timestamp support. */
-#endif
-
bnxt_set_ol_flags_crx(rxr, rxcmp, mbuf);
mbuf->packet_type = bnxt_parse_pkt_type_crx(rxcmp);
bnxt_set_vlan_crx(rxcmp, mbuf);