mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
d5a0828d3b
commit
e85a8f7083
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue