sch_mqprio: Always set num_tc to 0 in mqprio_destroy()
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 14 Feb 2011 19:02:23 +0000 (19:02 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 14 Feb 2011 19:07:58 +0000 (19:07 +0000)
All the cleanup code in mqprio_destroy() is currently conditional on
priv->qdiscs being non-null, but that condition should only apply to
the per-queue qdisc cleanup.  We should always set the number of
traffic classes back to 0 here.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found