Merge branch 'net_sched-redundant-resource-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2022 09:40:40 +0000 (10:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2022 09:40:40 +0000 (10:40 +0100)
Zhengchao Shao says:

====================
net: sched: remove redundant resource cleanup when init() fails

qdisc_create() calls .init() to initialize qdisc. If the initialization
fails, qdisc_create() will call .destroy() to release resources.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge