iwlwifi: mvm: remove useless condition in LED code
commit4aa234eeec0aa9414637bd193f0745cf91bb60ef
authorJohannes Berg <johannes.berg@intel.com>
Thu, 29 Jun 2017 07:14:45 +0000 (29 09:14 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Aug 2017 06:15:32 +0000 (9 09:15 +0300)
tree58f7c2c169af59b1849ba20beb6caaa4b8c510b8
parent2db3aaba0a9fc769435477059c1224c439061752
iwlwifi: mvm: remove useless condition in LED code

If the module parameter is set to disable the LED, we leave the
initialization routine before setting the LEDS_INIT_COMPLETE
status bit. Therefore, there's no need to check the parameter
again on exit, just the status check is sufficient.

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