]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: sch_netem: use rb_entry()
authorGeliang Tang <geliangtang@gmail.com>
Tue, 20 Dec 2016 14:02:16 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2016 19:22:48 +0000 (14:22 -0500)
commit585a07b89d57351b4a28743201b0bb1f8cd5150b
treed0f9272c6f66c75202906e5c65732d63e8b6c3ea
parent5b666164ce502856004112636fef879a14108844
net_sched: sch_netem: use rb_entry()

To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_netem.c