]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: avoid variable shadowing
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Feb 2017 11:02:22 +0000 (12:02 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 19:36:26 +0000 (22:36 +0300)
commit6ee4281ba3c64284a1bac66c6e3a9d7f5635fc11
tree56c0570ac9465d0cf8a6c6d3493927bc45a3764d
parent4fa528f8ad6997bd47667ae17598696837478e4c
iwlwifi: mvm: avoid variable shadowing

Remove an extra variable 'queue' that already exists.
Also, since there are no code paths that use 'queue'
without intializing it, remove the unnecessary zero
initialization.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c