mbox series

[net-next,v2,0/2] net: sched: remove redundant resource cleanup when init() fails

Message ID 20220902083430.24378-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series net: sched: remove redundant resource cleanup when init() fails | expand

Message

shaozhengchao Sept. 2, 2022, 8:34 a.m. UTC
qdisc_create() calls .init() to initialize qdisc. If the initialization
fails, qdisc_create() will call .destroy() to release resources.

Zhengchao Shao (2):
  net: sched: fq_codel: remove redundant resource cleanup in
    fq_codel_init()
  net: sched: htb: remove redundant resource cleanup in htb_init()

 net/sched/sch_fq_codel.c | 25 ++++++++-----------------
 net/sched/sch_htb.c      | 36 +++++++++---------------------------
 2 files changed, 17 insertions(+), 44 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 3, 2022, 9:50 a.m. UTC | #1
Hello:

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

On Fri, 2 Sep 2022 16:34:28 +0800 you wrote:
> qdisc_create() calls .init() to initialize qdisc. If the initialization
> fails, qdisc_create() will call .destroy() to release resources.
> 
> Zhengchao Shao (2):
>   net: sched: fq_codel: remove redundant resource cleanup in
>     fq_codel_init()
>   net: sched: htb: remove redundant resource cleanup in htb_init()
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/2] net: sched: fq_codel: remove redundant resource cleanup in fq_codel_init()
    https://git.kernel.org/netdev/net-next/c/494f5063b86c
  - [net-next,v2,2/2] net: sched: htb: remove redundant resource cleanup in htb_init()
    https://git.kernel.org/netdev/net-next/c/d59f4e1d1fe7

You are awesome, thank you!