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

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
...@@ -919,8 +919,8 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter, ...@@ -919,8 +919,8 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter,
break; break;
} }
if ((p == NULL) || (ie_len == 0)) if (!p || !ie_len)
break; break;
} }
/* wmm */ /* wmm */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment