@@ -592,7 +592,6 @@ netdev_odp_rxq_recv(struct netdev_rxq *rxq_, struct dpif_packet **packets,
struct netdev_odp *netdev = netdev_odp_cast(rx->up.netdev);
int pkts, pkts_ok, ret = 0;
size_t rx_bytes = 0;
- unsigned long err_cnt = 0;
int i;
odp_packet_t pkt_tbl[NETDEV_MAX_RX_BATCH];
@@ -600,8 +599,7 @@ netdev_odp_rxq_recv(struct netdev_rxq *rxq_, struct dpif_packet **packets,
if (OVS_LIKELY(pkts > 0)) {
pkts_ok = drop_err_pkts(pkt_tbl, pkts);
if (OVS_UNLIKELY(pkts_ok != pkts))
- VLOG_ERR_RL(&rl, "Dropped frames:%u - err_cnt:%lu\n",
- pkts-pkts_ok, ++err_cnt);
+ VLOG_ERR_RL(&rl, "Dropped frames:%u\n", pkts-pkts_ok);
if (OVS_UNLIKELY(!pkts_ok)) {
VLOG_ERR_RL(&rl, "ODP: All %d packets dropped!\n", pkts);
*c = 0;
It's not used to anything, and I don't see any value of it. Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org> --- lib/netdev-odp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)