]> asedeno.scripts.mit.edu Git - linux.git/commit
net: sched: simplify the qdisc_leaf code
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Thu, 13 Dec 2018 08:43:23 +0000 (00:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 19:37:32 +0000 (11:37 -0800)
commit2561f97267d656c9b2c62b32614870abb3eabfe6
treeb772cc2f68aa9f3e0495b76b8e47d1487517e5ed
parentc2027d1e17582903e368abf5d4838b22a98f2b7b
net: sched: simplify the qdisc_leaf code

Except for returning, the var leaf is not
used in the qdisc_leaf(). For simplicity, remove it.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c