lkml.org 
[lkml]   [2022]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next] net: sched: remove unnecessary init of qidsc skb head
From
Date
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


\
 
 \ /
  Last update: 2022-08-26 13:21    [W:0.037 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site