pkt_sched: Use qdisc->ops->peek() instead of ->dequeue() & ->requeue()
authorJarek Poplawski <jarkao2@gmail.com>
Fri, 31 Oct 2008 07:46:19 +0000 (00:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2008 07:46:19 +0000 (00:46 -0700)
commit03c05f0d4bb0c267edf12d614025a40e33c5a6f9
treec23b79ed8b7dfcdabb872f5c114541ae2de8ac0f
parent8e3af97899db433111287e07d5105189f56fe191
pkt_sched: Use qdisc->ops->peek() instead of ->dequeue() & ->requeue()

Use qdisc->ops->peek() instead of ->dequeue() & ->requeue() pair.
After this patch the only remaining user of qdisc->ops->requeue() is
netem_enqueue(). Based on ideas of Herbert Xu, Patrick McHardy and
David S. Miller.

Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_atm.c
net/sched/sch_hfsc.c
net/sched/sch_netem.c
net/sched/sch_tbf.c