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)
commitb0a7b3aee5c19ba0b295a37bc633ddf50fe0bccd
tree2eee8ea620cf5630fb0da2f756c10f96c30d2f5c
parenta11fbe6bf1ae780d4e813b8afec37d1d37f2fa80
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