commit | f54b8cd6efed57a598e004be04cc53a6771b07cd | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Tue Nov 29 14:35:07 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 30 14:26:26 2016 -0500 |
tree | 6f3e785f51260075ce764e49e7f57986f2e1c342 | |
parent | b634d30a79ecc2d28e61cbe5b1f4443952f37a8f [diff] |
ehea: Remove unnecessary memset of stats in netdev private data The memory for netdev private data is allocated using kzalloc/vzalloc in alloc_netdev_mqs, thus there is no need to zero the stats portion of it again in the driver's probe function. In any case, the size for the memset is wrong as the stats member is of type rtnl_link_stats64, not net_device_stats. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>