diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-01-31 18:29:09 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-02-06 11:46:49 +0000 |
commit | 7a2574a8ca4bf378e876df40c6e8d290d53d5f7e (patch) | |
tree | 17b0bfc37503010d3d2777731025a2b919ed8562 /extras/vpp_if_stats/apimock.go | |
parent | 291307e427e37ea6d31a85db53dc87665e076734 (diff) |
dpdk: remove dead code
rte_eth_tx_burst() returns the number of packets actually stored in
transmit descriptors and the return type is uint16. n_sent cannot be
negative and the if branch is dead code.
Type: improvement
Change-Id: Idc2980d342756c1093ddf74ea6207d072e819331
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'extras/vpp_if_stats/apimock.go')
0 files changed, 0 insertions, 0 deletions