diff options
author | 2019-09-11 16:14:31 +0200 | |
---|---|---|
committer | 2019-10-04 13:47:12 +0200 | |
commit | 020fa0f2f03ad7ef9c51cfda6a156b3cdf86b631 (patch) | |
tree | bf868493adabb78f53699651c7279b52cc3e6d05 /scripts/bpf_helpers_doc.py | |
parent | net: propagate errors correctly in register_netdevice() (diff) | |
download | linux-dev-020fa0f2f03ad7ef9c51cfda6a156b3cdf86b631.tar.xz linux-dev-020fa0f2f03ad7ef9c51cfda6a156b3cdf86b631.zip |
mac80211: IBSS: avoid unneeded return value processing
when ieee80211_ibss_csa_beacon() fails, we return it's value.
When it succeeds, we basically copy it's value and also .. return it.
Just return it immediately, simplifying the code.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Link: https://lore.kernel.org/r/20190911141431.12498-1-koen.vandeputte@ncentric.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions