]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: remove pointless NULL assignment
authorSara Sharon <sara.sharon@intel.com>
Thu, 23 Aug 2018 08:03:17 +0000 (11:03 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 07:06:01 +0000 (09:06 +0200)
commita124caf8f3166cf1488bf606ccf70469ac76a9de
tree48ced7e77286ca7879a1ae6ed3389b13abe180c5
parent70dc179dd98622eda9809d02fa73b708d60e5e23
iwlwifi: mvm: remove pointless NULL assignment

Assigning mvmsta to be NULL when we are about to exit the
function is pointless. Remove it. Move the variable declaration
to the scope it is used.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c