mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacmn: ftm: 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 ftm replace any such comparisons with logical operations performed on the pointer itself. Change-Id: I0b089f46e99ab72a9ae494267a32e8b342a08ae3 CRs-Fixed: 2418259
This commit is contained in:
parent
e409a8fd44
commit
d97a5912d3
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ wlan_ftm_pdev_obj_destroy_notification(struct wlan_objmgr_pdev *pdev,
|
|||
struct wifi_ftm_pdev_priv_obj *ftm_pdev_obj =
|
||||
wlan_objmgr_pdev_get_comp_private_obj(pdev, WLAN_UMAC_COMP_FTM);
|
||||
|
||||
if (NULL == ftm_pdev_obj) {
|
||||
if (!ftm_pdev_obj) {
|
||||
ftm_err("invalid wifi ftm obj");
|
||||
return QDF_STATUS_E_FAULT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue