net: sched: simplify attach_one_default_qdisc()
authorPhil Sutter <phil@nwl.cc>
Thu, 27 Aug 2015 19:21:39 +0000 (21:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Aug 2015 00:14:30 +0000 (17:14 -0700)
commit3e692f21532a54eeb5e6fc0ccc214cfa56fe23d3
treee6de5677f5cf445b53576234bb4b60d14c30566d
parentd66d6c3152e8d5a6db42a56bf7ae1c6cae87ba48
net: sched: simplify attach_one_default_qdisc()

Now that noqueue qdisc can be attached just like any other qdisc, no
special treatment is necessary anymore when attaching it as default
qdisc.

This change has the added benefit that 'tc qdisc show' prints noqueue
instead of nothing for devices defaulting to noqueue.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_generic.c