qdisc: fix build with !CONFIG_NET_SCHED
authorstephen hemminger <stephen@networkplumber.org>
Sat, 31 Aug 2013 17:15:33 +0000 (10:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Aug 2013 22:09:45 +0000 (18:09 -0400)
commit34aedd3f3b289edba118e66450e95790ccab5091
tree487ccefb99181c3ae0b1615498b3b23622e11c68
parentd2a7f269f91299b8e5f6c7d2a41ba46248d73d24
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>
net/sched/sch_api.c
net/sched/sch_generic.c