summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJose A. Perez de Azpillaga <azpijr@gmail.com>2026-03-21 21:27:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-31 11:30:41 +0300
commitff97e01144fa4a1149c6352d35e8ead74c436460 (patch)
tree5cacdb834125c31552bfd22d11375e594e1ab40d /scripts
parent96e82c72feef0b76ebd2b5ec4ae9e5e03595ca78 (diff)
downloadlinux-ff97e01144fa4a1149c6352d35e8ead74c436460.tar.xz
staging: rtl8723bs: refactor rtw_joinbss_event_prehandle to reduce indentation
The rtw_joinbss_event_prehandle function has excessive indentation due to deeply nested if-statements. Refactor the function using early returns and guard clauses for the failure paths. This flattens the code and significantly improves readability. Signed-off-by: Jose A. Perez de Azpillaga <azpijr@gmail.com> Reviewed-by: Luka Gejak <luka.gejak@linux.dev> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/20260321182713.665872-3-azpijr@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions