ethdev: remove useless memset

eth_stats is already cleared by rte_eth_stats_get

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
Stephen Hemminger 2015-06-03 14:13:11 -07:00 committed by Thomas Monjalon
parent 94ef296414
commit e6c8156f65

View File

@ -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(&eth_stats, 0, sizeof(eth_stats));
rte_eth_stats_get(port_id, &eth_stats);
/* global stats */