]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: atomisp: Removes pointer comparison to 0 in ia_css_queue_enqueue
authorTahia Khan <tahia.khan@gmail.com>
Wed, 15 Mar 2017 04:03:05 +0000 (00:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:23:00 +0000 (11:23 +0900)
commitc526ec265376562f69c78203c26f994f003661ff
tree1611d9a0b25cb6d4b295c9087a23dea338c15e9a
parentdd1c0f278b0e59c80f07b1c491a6cb5d2cf13844
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>
drivers/staging/media/atomisp/pci/atomisp2/css2400/runtime/queue/src/queue.c