mac80211: fix a harmless uninitialized variable warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-07-14 13:31:53 +02:00
parent 1c52826010
commit 55761205ef

View file

@ -8,7 +8,7 @@ performance. Disable it until the cause has been found and fixed
lockdep_assert_held(&fq->lock);
+ /* HACK: disable fq for now until TCP issues are fixed */
+ return get_default_func(fq, tin, idx, skb);
+ return get_default_func(fq, tin, 0, skb);
+
hash = skb_get_hash_perturb(skb, fq->perturbation);
idx = reciprocal_scale(hash, fq->flows_cnt);