net: remove useless memset's in drivers get_stats64
authorstephen hemminger <stephen@networkplumber.org>
Sat, 7 Jan 2017 03:12:53 +0000 (19:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jan 2017 22:51:44 +0000 (17:51 -0500)
commit5944701df90d9577658e2354cc27c4ceaeca30fe
tree5bb624e7bfe7876f7cd052946be1e5f8493a1ab4
parentbc1f44709cf27fb2a5766cadafe7e2ad5e9cb221
net: remove useless memset's in drivers get_stats64

In dev_get_stats() the statistic structure storage has already been
zeroed. Therefore network drivers do not need to call memset() again.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/intel/e1000e/netdev.c