Commit 4fa02e83 authored by Nikolay Kulikov's avatar Nikolay Kulikov Committed by Greg Kroah-Hartman
Browse files

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: default avatarNikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260323150650.7168-4-nikolayof23@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b5f801a4
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -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;
}