staging: rtl8192u: clean up comparsions to NULL
authorMichael Straube <straube.linux@gmail.com>
Sat, 19 Sep 2020 15:08:23 +0000 (17:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2020 07:51:12 +0000 (09:51 +0200)
commitd6628e8cbe20472d415977f9f13210e789ed6bea
tree2b36835bdf1c0f33caec1e43ec270b45ef2b5a8d
parente7a9c7b516285485fbbca1d84fb8e63b4ae4d5a2
staging: rtl8192u: clean up comparsions to NULL

Clean up comparsions to NULL reported by checkpatch.
if (x == NULL) -> if (!x)
if (x != NULL) -> if (x)

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20200919150823.16923-3-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_wx.c
drivers/staging/rtl8192u/r819xU_cmdpkt.c
drivers/staging/rtl8192u/r819xU_phy.c