Thread (1 message) 1 message, 1 author, 2015-01-21

Re: [PATCH] stats: remove useless memset's

From: Neil Horman <hidden>
Date: 2015-01-21 12:43:59

On Tue, Jan 20, 2015 at 08:16:58PM -0800, stephen-OTpzqLSitTUnbdJkjeBofR2eb7JE58TQ@public.gmane.org wrote:
From: Stephen Hemminger <redacted>

The rte_eth_stats_get is the only API that should call the device
statistics function directly, and it already does a memset of the
resulting structure. Therefore doing memset() in the driver is
redundant and should be removed.

Signed-off-by: Stephen Hemminger <redacted>
Acked-by: Neil Horman <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help