staging: atomisp: Removes pointer comparison to 0 in ia_css_queue_get_size
authorTahia Khan <tahia.khan@gmail.com>
Wed, 15 Mar 2017 04:03:14 +0000 (00:03 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:23:00 +0000 (11:23 +0900)
commiteb465ea39148efd0253f018fc7c200cc406ecae2
tree8b02b83c6531579253b8c66fed1fe5e7f1b72746
parent118c07f978b676c790372e2f43ee654b5490bc97
staging: atomisp: Removes pointer comparison to 0 in ia_css_queue_get_size

Repaces pointer comparison to 0 with NULL in ia_css_queue_get_size
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