]> err.no Git - linux-2.6/commit
pkt_sched: Remove 'dev' member of struct Qdisc.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 00:06:30 +0000 (17:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 00:06:30 +0000 (17:06 -0700)
commit5ce2d488fe039ddd86a638496cf704df86c74eeb
tree71b4d982bfa8bd457bb41c0693c0e70d75b524b4
parentbb949fbd1878973c3539d9aecff52f284482a937
pkt_sched: Remove 'dev' member of struct Qdisc.

It can be obtained via the netdev_queue.  So create a helper routine,
qdisc_dev(), to make the transformations nicer looking.

Now, qdisc_alloc() now no longer needs a net_device pointer argument.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
include/net/sch_generic.h
net/mac80211/wme.c
net/sched/cls_api.c
net/sched/cls_route.c
net/sched/sch_api.c
net/sched/sch_atm.c
net/sched/sch_cbq.c
net/sched/sch_dsmark.c
net/sched/sch_fifo.c
net/sched/sch_generic.c
net/sched/sch_gred.c
net/sched/sch_hfsc.c
net/sched/sch_htb.c
net/sched/sch_netem.c
net/sched/sch_prio.c
net/sched/sch_sfq.c
net/sched/sch_teql.c