From: Eric Dumazet <redacted>
Date: Sun, 12 Jun 2016 16:21:47 -0700
From: Eric Dumazet <edumazet@google.com>
At Qdisc creation or change time, prio_tune() creates missing
pfifo qdiscs but does not return an error code if one
qdisc could not be allocated.
Leaving a qdisc in non operational state without telling user
anything about this problem is not good.
Also, testing if we replace something different than noop_qdisc
a second time makes no sense so I removed useless code.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.