]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PKT_SCHED]: Cleanup qdisc creation and alignment macros
authorThomas Graf <tgraf@suug.ch>
Tue, 5 Jul 2005 21:15:09 +0000 (14:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:15:09 +0000 (14:15 -0700)
commit3d54b82fdf0ca79608f61448fb8ab92676487645
tree441e7a997eca58d2d7d2d06c387667ba82937d58
parente41a33e6ec20a0a6ac762629149e36cab5d4213f
[PKT_SCHED]: Cleanup qdisc creation and alignment macros

Adds qdisc_alloc() to share code between qdisc_create()
and qdisc_create_dflt(). Hides the qdisc alignment behind
macros and makes use of them.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h
include/net/sch_generic.h
net/sched/sch_api.c
net/sched/sch_generic.c