commit | 5944701df90d9577658e2354cc27c4ceaeca30fe | [log] [tgz] |
---|---|---|
author | stephen hemminger <stephen@networkplumber.org> | Fri Jan 06 19:12:53 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 08 17:51:44 2017 -0500 |
tree | 5bb624e7bfe7876f7cd052946be1e5f8493a1ab4 | |
parent | bc1f44709cf27fb2a5766cadafe7e2ad5e9cb221 [diff] |
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>