iwlwifi: fix double assign in iwl_start_tx_ba_trans_ready()
authorDan Carpenter <error27@gmail.com>
Wed, 31 Aug 2011 06:37:42 +0000 (09:37 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:48:48 +0000 (15:48 -0400)
commit427977ab2e24bb76c733cc50be97d4262028f14a
tree64ec533e118b1ddb2f4d2d767224d75e4cd3581e
parent81a91d575512de74b1455d0ea213bde6f7b1e026
iwlwifi: fix double assign in iwl_start_tx_ba_trans_ready()

"vif" is assigned twice.  We can remove the first one.

This silences a Smatch warning that "ctx" could be one step past the
end of the priv->contexts[] array.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c