batman-adv: Omit unnecessary memset of netdev private data
authorTobias Klauser <tklauser@distanz.ch>
Fri, 17 Mar 2017 11:08:59 +0000 (12:08 +0100)
committerSimon Wunderlich <sw@simonwunderlich.de>
Fri, 17 Mar 2017 11:53:35 +0000 (12:53 +0100)
commit13b0ea0f5934ac30bf75c21554d3061b02abbad4
treebd7df45c5c27445187e42692a78d82f6b86a9089
parent4e09991af206539add91e9d793ec1de61ec72e66
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>
net/batman-adv/soft-interface.c