Skip to content

Commit 4fa02e8

Browse files
nikolayof12gregkh
authored andcommitted
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>
1 parent b5f801a commit 4fa02e8

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_ioctl_set.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ u8 rtw_validate_bssid(u8 *bssid)
1111
{
1212
u8 ret = true;
1313

14-
if (is_zero_mac_addr(bssid)
15-
|| is_broadcast_mac_addr(bssid)
16-
|| is_multicast_mac_addr(bssid)
17-
) {
14+
if (is_zero_mac_addr(bssid) ||
15+
is_broadcast_mac_addr(bssid) ||
16+
is_multicast_mac_addr(bssid))
1817
ret = false;
19-
}
2018

2119
return ret;
2220
}

0 commit comments

Comments
 (0)