From: Ben Hutchings Date: Mon, 14 Feb 2011 19:02:23 +0000 (+0000) Subject: sch_mqprio: Always set num_tc to 0 in mqprio_destroy() X-Git-Tag: v2.6.39-rc1~468^2~347^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7100ba93428a26cde8e47dfcfcfbfbfcce66de;p=pandora-kernel.git sch_mqprio: Always set num_tc to 0 in mqprio_destroy() 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 --- Reading git-diff-tree failed