mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 13:29:17 -04:00
staging: atomisp: Removes pointer comparison to 0 in ia_css_queue_enqueue
Repaces pointer comparison to 0 with NULL in ia_css_queue_enqueue 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:
committed by
Greg Kroah-Hartman
parent
dd1c0f278b
commit
c526ec2653
@@ -88,7 +88,7 @@ int ia_css_queue_enqueue(
|
||||
uint32_t item)
|
||||
{
|
||||
int error = 0;
|
||||
if (0 == qhandle)
|
||||
if (NULL == qhandle)
|
||||
return EINVAL;
|
||||
|
||||
/* 1. Load the required queue object */
|
||||
|
||||
Reference in New Issue
Block a user