staging: rtl8723bs: move logical operators to end of previous line

Change the position of logical operators '||' and remove unnecessary
curly braces around single expression to fix checkpatch.pl warnings.

Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260323150650.7168-4-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nikolay Kulikov 2026-03-23 18:06:05 +03:00 committed by Greg Kroah-Hartman
parent b5f801a424
commit 4fa02e833e

View File

@ -11,12 +11,10 @@ u8 rtw_validate_bssid(u8 *bssid)
{
u8 ret = true;
if (is_zero_mac_addr(bssid)
|| is_broadcast_mac_addr(bssid)
|| is_multicast_mac_addr(bssid)
) {
if (is_zero_mac_addr(bssid) ||
is_broadcast_mac_addr(bssid) ||
is_multicast_mac_addr(bssid))
ret = false;
}
return ret;
}