]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
staging: rtl8723bs: remove unnecessary else after break
authorVo Thanh Cong <thanhcongvo079@gmail.com>
Tue, 13 Jan 2026 10:37:38 +0000 (17:37 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 13:00:03 +0000 (14:00 +0100)
commit45432aa97a5e249c6fc815d8c44c7066e3c855bd
tree2b64d6071c68a5bd50b0b37c3f9ded87ab37988c
parentefcffd9a6ad8d190651498d5eda53bfc7cf683a7
staging: rtl8723bs: remove unnecessary else after break

This patch fixes the checkpatch.pl warning:
"WARNING: else is not generally useful after a break or return"

In sdio_ops_linux.c, the else blocks after break statements are
redundant. Removing them reduces indentation level and improves
code readability.

Signed-off-by: Vo Thanh Cong <thanhcongvo079@gmail.com>
Link: https://patch.msgid.link/20260113103738.207570-1-thanhcongvo079@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/sdio_ops_linux.c