Message ID | 1433365992-9173-3-git-send-email-stephen@networkplumber.org (mailing list archive) |
---|---|
State | Accepted, archived |
Headers |
Commit Message
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c index 024fe8b..5a94654 100644 --- a/lib/librte_ether/rte_ethdev.c +++ b/lib/librte_ether/rte_ethdev.c @@ -1766,7 +1766,6 @@ rte_eth_xstats_get(uint8_t port_id, struct rte_eth_xstats *xstats, /* now fill the xstats structure */ count = 0; - memset(ð_stats, 0, sizeof(eth_stats)); rte_eth_stats_get(port_id, ð_stats); /* global stats */