提交 2f31c4b4 编写于 作者: A Alison Schofield 提交者: 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: NAlison Schofield <amsfield22@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 258e7af2
......@@ -919,8 +919,8 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter,
break;
}
if ((p == NULL) || (ie_len == 0))
break;
if (!p || !ie_len)
break;
}
/* wmm */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册