]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bd87535b581cac0060f705ba159b30522187a40
treee6de5677f5cf445b53576234bb4b60d14c30566d
parentb77de8145d83b6b4e7e5acbca2c5027dd3380c8c
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