iwlagn: simplify iwlagn_tx_skb
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 12 Nov 2010 07:47:06 +0000 (08:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:39:09 +0000 (16:39 -0500)
commit70f3876f09ccf1f2819aee6caee9266b2c4b1622
tree985017d59f9ee04cb1bb6cb8c5294fc05e9b4c8f
parent2cb7865648e44647a976875428c9dfd9d5553221
iwlagn: simplify iwlagn_tx_skb

We can simplify length calculation in iwlagn_tx_skb, that function
is enough complex, without fuzz it more than necessary.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c