]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: Rewrite NULL comparisons
authorZhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Tue, 6 Apr 2021 11:43:44 +0000 (17:43 +0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Apr 2021 12:16:20 +0000 (14:16 +0200)
commit9c3d148f836ac238548069308d55210a15a9c44f
tree2eee8ea620cf5630fb0da2f756c10f96c30d2f5c
parent7dd5d345f73624419bcdcd4319155d88bdb9a61b
staging: rtl8712: Rewrite NULL comparisons

Replace NULL comparisons with boolean negation to be more consistent with
the rest of the Linux kernel code base.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Link: https://lore.kernel.org/r/74471865b399584d73a18696d2008006301dfd71.1617708653.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_recv.h