From: Gabor Juhos Date: Tue, 4 Jun 2013 11:40:41 +0000 (+0200) Subject: rt2x00: rt2x00queue: setup queue->threshold from queue->limit X-Git-Tag: v3.11-rc1~64^2~166^2^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04453e9bda9da510e79c66f56ab463215d042aa8;p=pandora-kernel.git rt2x00: rt2x00queue: setup queue->threshold from queue->limit Use the queue->limit value instead of the qdesc->entry_num to compute the threshold. The two source values are the same and the data queue descriptor structure will be removed by a later patch. Also separate the computation from the rest of the init code to make further changes easier. Signed-off-by: Gabor Juhos Acked-by: Stanislaw Gruszka Acked-by: Gertjan van Wingerde Signed-off-by: John W. Linville --- Reading git-diff-tree failed