]> git.baikalelectronics.ru Git - kernel.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)
commitc2d7415ca2311efb6b63807710172844cfbc1259
treeb772cc2f68aa9f3e0495b76b8e47d1487517e5ed
parentfe8ae1c39ac550fe0d83efc8fccf414b000e9f7e
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