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:
@@ -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;
|
||||
|
Fai riferimento in un nuovo problema
Block a user