diff options
author | stephen hemminger <stephen@networkplumber.org> | 2013-08-31 19:15:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-01 00:09:45 +0200 |
commit | 34aedd3f3b289edba118e66450e95790ccab5091 (patch) | |
tree | 487ccefb99181c3ae0b1615498b3b23622e11c68 /net/sched/sch_api.c | |
parent | qdisc: make args to qdisc_create_default const (diff) | |
download | linux-34aedd3f3b289edba118e66450e95790ccab5091.tar.xz linux-34aedd3f3b289edba118e66450e95790ccab5091.zip |
qdisc: fix build with !CONFIG_NET_SCHED
Multiqueue scheduler refers to default_qdisc_ops; therefore the
variable definition needs to be moved to handle case where net
scheduler API is not available.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r-- | net/sched/sch_api.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 812e57900591..2adda7fa2d39 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -131,11 +131,6 @@ static DEFINE_RWLOCK(qdisc_mod_lock); ************************************************/ -/* Qdisc to use by default */ - -const struct Qdisc_ops *default_qdisc_ops = &pfifo_fast_ops; -EXPORT_SYMBOL(default_qdisc_ops); - /* The list of all installed queueing disciplines. */ static struct Qdisc_ops *qdisc_base; |