Re: [PATCH net-next] net: sched: remove unnecessary init of qidsc skb head

From: patchwork-bot+netdevbpf
Date: Fri Aug 26 2022 - 07:20:22 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Wed, 24 Aug 2022 17:10:03 +0800 you wrote:
> The memory allocated by using kzallloc_node and kcalloc has been cleared.
> Therefore, the structure members of the new qdisc are 0. So there's no
> need to explicitly assign a value of 0.
>
> Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
> ---
> include/net/sch_generic.h | 7 -------
> net/sched/sch_generic.c | 1 -
> net/sched/sch_htb.c | 2 --
> 3 files changed, 10 deletions(-)

Here is the summary with links:
- [net-next] net: sched: remove unnecessary init of qidsc skb head
https://git.kernel.org/netdev/net-next/c/44387d1736c4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html