From: Gabor Juhos Date: Thu, 6 Jun 2013 07:36:19 +0000 (+0200) Subject: rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev X-Git-Tag: v3.11-rc1~64^2~166^2^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5616a6efb2a255330319f9f09f3bcf0fc4680b5f;p=pandora-kernel.git rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev The extra_tx_headroom field of struct rt2x00_ops indicates the extra TX headroom size required for a given device. This data is redundant, the value can be computed from the desc_size and winfo_size fields of the TX queues. Move the extra_tx_headroom field to struct rt2x00_dev, compute its value in the probe routine and use the cached value in the rest of the code. 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