mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 21:15:53 +02:00
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:
parent
b5f801a424
commit
4fa02e833e
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user