net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
authorPeilin Ye <peilin.ye@bytedance.com>
Sun, 11 Jun 2023 03:30:15 +0000 (20:30 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 14 Jun 2023 08:31:39 +0000 (10:31 +0200)
commit2d5f6a8d7aef7852a9ecc555f88c673a1c91754f
tree79bf31e08d5e94a1ff67f8443b67b69444ff83d4
parent41f2c7c342d3adb1c4dd5f2e3dd831adff16a669
net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs

Grafting ingress and clsact Qdiscs does not need a for-loop in
qdisc_graft().  Refactor it.  No functional changes intended.

Tested-by: Pedro Tammela <pctammela@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: Peilin Ye <peilin.ye@bytedance.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/sch_api.c