]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rtl8192u: Replace explicit NULL comparisons with !
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Feb 2017 20:49:21 +0000 (02:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:42:59 +0000 (13:42 +0100)
commitf8f65f2ba7cfa4da1335e4e25e1b714381930751
tree8ee225173ec438615802ce48ab23ba3d739af0a9
parentfaa86645e97c1e6327803cb4ac989541292c6e4e
staging: rtl8192u: Replace explicit NULL comparisons with !

This patch replace explicit NULL comparison with ! or unmark operator to
simplify code.
Reported by checkpatch.pl for comparison to NULL could be
written "!XXX" or "XXX".

Signed-off-by: simran singhal <singhalsimran0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c