]> git.baikalelectronics.ru Git - kernel.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)
commit6fdb0ca1858309272b6c8f4fa3f48d16e1a96a81
tree1611d9a0b25cb6d4b295c9087a23dea338c15e9a
parent9a4f01998f55f7defc8d8c5c7778dbdaffcb2fa3
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