staging: rtl8192e: replace comparison to NULL by bool
authorzhaoxiao <zhaoxiao@uniontech.com>
Fri, 30 Apr 2021 12:56:57 +0000 (20:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:34 +0000 (11:19 +0200)
commit84b45d4ff9e00ac37bfd3d64f00ec13ca17c2551
treea332ccb7935ecd193862d6c2cf0b5d7fdfd9338e
parent66d708e655afd89dc3a80e38412b9cf848a3e25a
staging: rtl8192e: replace comparison to NULL by bool

Fixed Comparison to NULL can be written as '!...' by replacing it with
simpler form i.e boolean expression. This makes code more readable alternative.
Reported by checkpatch.

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Link: https://lore.kernel.org/r/20210430125657.18264-1-zhaoxiao@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c