diff options
author | Johannes Berg | 2017-06-29 09:14:45 +0200 |
---|---|---|
committer | Luca Coelho | 2017-08-09 08:15:32 +0200 |
commit | 4aa234eeec0aa9414637bd193f0745cf91bb60ef (patch) | |
tree | 58f7c2c169af59b1849ba20beb6caaa4b8c510b8 /drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h | |
parent | rt2x00: Fix MMIC Countermeasures (diff) | |
download | kernel-qcow2-linux-4aa234eeec0aa9414637bd193f0745cf91bb60ef.tar.gz kernel-qcow2-linux-4aa234eeec0aa9414637bd193f0745cf91bb60ef.tar.xz kernel-qcow2-linux-4aa234eeec0aa9414637bd193f0745cf91bb60ef.zip |
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>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/fw-api.h')
0 files changed, 0 insertions, 0 deletions