summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorAbraham Samuel Adekunle <abrahamadekunle50@gmail.com>2025-03-25 17:42:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-07 08:38:08 +0300
commitf6d1d0ac1735ff4fccf84d08eadf291123b8e310 (patch)
tree42e791ea5e57d18034918f4f8a7099653446f9af /scripts/basic
parent7fc3a367b2f51004e4c0bd7b215502b7be6a042b (diff)
downloadlinux-f6d1d0ac1735ff4fccf84d08eadf291123b8e310.tar.xz
staging: rtl8723bs: remove unnecessary else block after return
The else block after the return statement is unnecessary since execution does not continue past the return statement. Remove the else block while preserving logic making the code cleaner and more readable. reported by checkpatch: WARNING: else is not generally useful after a break or return Signed-off-by: Abraham Samuel Adekunle <abrahamadekunle50@gmail.com> Reviewed-by: Julia Lawall <julia.lawall@inria.fr> Link: https://lore.kernel.org/r/Z+LA2eeFRL+K0KCy@HP-650 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions