mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
staging: atomisp: Removes pointer comparison to 0 in ia_css_queue_dequeue
Repaces pointer comparison to 0 with NULL in ia_css_queue_dequeue to improve code readability. Identified with coccinelle script 'badzero.cocci'. Signed-off-by: Tahia Khan <tahia.khan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c526ec2653
commit
118c07f978
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ int ia_css_queue_dequeue(
|
|||
uint32_t *item)
|
||||
{
|
||||
int error = 0;
|
||||
if (qhandle == 0 || NULL == item)
|
||||
if (qhandle == NULL || NULL == item)
|
||||
return EINVAL;
|
||||
|
||||
/* 1. Load the required queue object */
|
||||
|
|
|
|||
Loading…
Reference in a new issue