]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: fq_codel: remove redundant resource cleanup in fq_codel_init()
authorZhengchao Shao <shaozhengchao@huawei.com>
Fri, 2 Sep 2022 08:34:29 +0000 (16:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2022 09:40:40 +0000 (10:40 +0100)
commit1f8f1bc789135099c7088a163e425cb54479f3df
treec0d4289185c133af946e7d098818078225230245
parentad168237a332c8ac8e6fe293ba424fb4f5ddbe3b
net: sched: fq_codel: remove redundant resource cleanup in fq_codel_init()

If fq_codel_init() fails, qdisc_create() invokes fq_codel_destroy() to
clear resources. Therefore, remove redundant resource cleanup in
fq_codel_init().

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq_codel.c