aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2017-06-29 09:14:45 +0200
committerLuca Coelho <[email protected]>2017-08-09 09:15:32 +0300
commit4aa234eeec0aa9414637bd193f0745cf91bb60ef (patch)
tree58f7c2c169af59b1849ba20beb6caaa4b8c510b8 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent2db3aaba0a9fc769435477059c1224c439061752 (diff)
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 <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions