Messages in this thread | | | Subject | Re: [PATCH net-next] net: sched: remove unnecessary init of qidsc skb head | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 26 Aug 2022 11:20:14 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
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@huawei.com> > --- > 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
| |