diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-01-02 22:35:42 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-01-03 17:35:38 +0300 |
commit | 3aca362a4c1411ec11ff04f81b6cdf2359fee962 (patch) | |
tree | 6f4ae29082fb0892b87b6ccda1fd51014400c308 /net/core | |
parent | d18125b640309e925441ce49559be33867ae6b29 (diff) | |
download | linux-3aca362a4c1411ec11ff04f81b6cdf2359fee962.tar.xz |
wifi: mac80211: remove redundant ML element check
If "ml_basic" is assigned, we already know that the type
of ML element is basic, so we don't need to check again,
that check can never happen. Simplify the code.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240102213313.bb9b636e66f6.I7fc0897022142d46f39ac0b912a4f7b0f1b6ea26@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions