qcacld-3.0: bmi: 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 bmi replace any such comparisons with logical
operations performed on the pointer itself.

Change-Id: I85578cf7e40e7d6c81246b423d5b626a9570c8b4
CRs-Fixed: 2418396
This commit is contained in:
Jeff Johnson 2019-03-18 13:44:16 -07:00 • committed by nshrivas
commit e85a8f7083

View file

@ -510,7 +510,7 @@ release_fw:
BMI_ERR("%s, BMI operation failed: %d", __func__, __LINE__);
else
BMI_INFO("transferring file: %s size %d bytes done!",
(filename != NULL) ? filename : " ", fw_entry_size);
(filename) ? filename : " ", fw_entry_size);
return status;
}