commit | 13b0ea0f5934ac30bf75c21554d3061b02abbad4 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Mar 17 12:08:59 2017 +0100 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Fri Mar 17 12:53:35 2017 +0100 |
tree | bd7df45c5c27445187e42692a78d82f6b86a9089 | |
parent | 4e09991af206539add91e9d793ec1de61ec72e66 [diff] |
batman-adv: Omit unnecessary memset of netdev private data The memory for netdev_priv is allocated using kzalloc in alloc_netdev (or alloc_netdev_mq respectively) so there is no need to set it to 0 again. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>