Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f31c4b4 authored by Alison Schofield's avatar Alison Schofield Committed by Greg Kroah-Hartman
Browse files

staging: r8723au: replace NULL and zero comparison tests with ! operator



Replace explicit NULL comparison and zero comparison test with ! operator
to simplify code.

Signed-off-by: default avatarAlison Schofield <amsfield22@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 258e7af2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -919,7 +919,7 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter,
			break;
		}

		if ((p == NULL) || (ie_len == 0))
		if (!p || !ie_len)
			break;
	}