qcacld-3.0: tdls: Replace explicit comparison to NULL

Per the Linux Kernel coding style, as enforced by the kernel
checkpatch script, pointers should not be explicitly compared to
NULL. Therefore within tdls replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I836dec2b71e0c11f11b18402c7b127bb4ccbba48
CRs-Fixed: 2418394
This commit is contained in:
Jeff Johnson
2019-03-18 13:45:10 -07:00
committato da nshrivas
parent ec25097c09
commit bdc473f2f4
5 ha cambiato i file con 22 aggiunte e 22 eliminazioni

Vedi File

@@ -694,7 +694,7 @@ QDF_STATUS ucfg_tdls_send_mgmt_frame(
qdf_mem_copy(mgmt_req, req, sizeof(*req));
/*populate the additional IE's */
if ((0 != req->len) && (NULL != req->cmd_buf)) {
if ((0 != req->len) && (req->cmd_buf)) {
qdf_mem_copy(mgmt_req->tdls_mgmt.buf, req->cmd_buf,
req->len);
mgmt_req->tdls_mgmt.len = req->len;