diff options
| author | Johannes Berg <[email protected]> | 2025-01-02 14:20:02 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2025-01-13 14:34:09 +0000 |
| commit | bb54c93bd37541424505281e09fffe75ab3357e9 (patch) | |
| tree | 2d8deddd62f9cf2157f04e039802f388e6d041ff /drivers/net/wireless/intel/iwlwifi/mvm/binding.c | |
| parent | wifi: mac80211: Support parsing EPCS ML element (diff) | |
| download | kernel-bb54c93bd37541424505281e09fffe75ab3357e9.tar.gz kernel-bb54c93bd37541424505281e09fffe75ab3357e9.zip | |
wifi: nl80211: simplify nested if checks
In the absence of (an) else clause(s), "if (a) if (b)" is
equivalent to "if (a && b)", so simplify the code a bit.
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://patch.msgid.link/20250102161730.c8bf7338aa64.Ie49dcc1ba44b507d91d5a9d8bd538d7ac2e46c54@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/binding.c')
0 files changed, 0 insertions, 0 deletions
