summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2004-02-20 02:41:57 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2004-02-20 02:41:57 -0800
commita4c844769e25ba573a7c313dd1dae34610fd3a6d (patch)
tree082af5139cc1ee6466a826d2dc110788dcd50513 /net/core/dev.c
parent144abfc2830e661ac6c0b90360af4e487f838a9e (diff)
[PKT_SCHED]: Convert to {subsys,module}_initcall(), fix init failure bugs in sch_teql.c
pktsched_init() and tc_filter_init() converted to subsys_initcall(). initialization of individual qdisc and tcf_proto switched to module_init(). Some of them used to be registered twice if built-in, BTW. init failure handling in sch_teql.c fixed - it used to leave objects (both qdisc and netdev) registered if insmod failed.
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index b2333ae5affe..94c16c74dc99 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3217,10 +3217,6 @@ static int __init net_dev_init(void)
dst_init();
dev_mcast_init();
-
-#ifdef CONFIG_NET_SCHED
- pktsched_init();
-#endif
rc = 0;
out:
return rc;