]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa2/dpaa2_rxtx.c
net/txgbe: fix queue statistics mapping
[dpdk.git] / drivers / net / dpaa2 / dpaa2_rxtx.c
index 81b28e20cb47102ca69f7663f10800c6dfe97906..b8844fbdf1070442cd6c9f8644d20f5f5e05980a 100644 (file)
@@ -1802,31 +1802,6 @@ skip_tx:
        return num_tx;
 }
 
-/**
- * Dummy DPDK callback for TX.
- *
- * This function is used to temporarily replace the real callback during
- * unsafe control operations on the queue, or in case of error.
- *
- * @param dpdk_txq
- *   Generic pointer to TX queue structure.
- * @param[in] pkts
- *   Packets to transmit.
- * @param pkts_n
- *   Number of packets in array.
- *
- * @return
- *   Number of packets successfully transmitted (<= pkts_n).
- */
-uint16_t
-dummy_dev_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts)
-{
-       (void)queue;
-       (void)bufs;
-       (void)nb_pkts;
-       return 0;
-}
-
 #if defined(RTE_TOOLCHAIN_GCC)
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wcast-qual"