aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.c
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2022-09-02 16:34:30 +0800
committerDavid S. Miller <davem@davemloft.net>2022-09-03 10:40:40 +0100
commitd59f4e1d1fe785e85c33f62136d93c8ea429442f (patch)
tree09f06c72a5e9c66dbb299d92ce9832df5bc970a1 /drivers/net/dsa/microchip/ksz_common.c
parentnet: sched: fq_codel: remove redundant resource cleanup in fq_codel_init() (diff)
downloadlinux-dev-d59f4e1d1fe785e85c33f62136d93c8ea429442f.tar.xz
linux-dev-d59f4e1d1fe785e85c33f62136d93c8ea429442f.zip
net: sched: htb: remove redundant resource cleanup in htb_init()
If htb_init() fails, qdisc_create() invokes htb_destroy() to clear resources. Therefore, remove redundant resource cleanup in htb_init(). Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions