[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5753967.hXycxaDlX0@bentobox>
Date: Fri, 17 Mar 2017 12:54:57 +0100
From: Sven Eckelmann <sven@...fation.org>
To: b.a.t.m.a.n@...ts.open-mesh.org
Cc: Tobias Klauser <tklauser@...tanz.ch>,
Marek Lindner <mareklindner@...mailbox.ch>,
Simon Wunderlich <sw@...onwunderlich.de>,
Antonio Quartulli <a@...table.cc>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Omit unnecessary memset of netdev private data
On Freitag, 17. März 2017 12:08:59 CET Tobias Klauser wrote:
> 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@...tanz.ch>
> ---
> net/batman-adv/soft-interface.c | 4 ----
> 1 file changed, 4 deletions(-)
Thanks, applied in 9210dca17a0acc2d01928893a61647153d578e33 [1].
Kind regards,
Sven
[1] https://git.open-mesh.org/batman-adv.git/commit/9210dca17a0acc2d01928893a61647153d578e33
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists