Staging: rtl8192u: ieee80211: Use !x in place of NULL comparisons
authorPuranjay Mohan <puranjay12@gmail.com>
Fri, 17 May 2019 17:29:30 +0000 (22:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 07:31:46 +0000 (09:31 +0200)
commitdeabe03523a795e6885a7a263f69de3d0cdf54f7
tree3ba9385bd09a411715949be173227e8eb47014ab
parent63a9c3edcb07c93dbd355399cfd8002a632282b8
Staging: rtl8192u: ieee80211: Use !x in place of NULL comparisons

Fix the following checkpatch.pl warning :
CHECK: Comparison to NULL could be written "!x"
by changing (x == NULL) to !x and (x != NULL) to x.

Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_module.c
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c