Skip to content
Commit bdcca44e authored by Vatsala Narang's avatar Vatsala Narang Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: ieee80211: Use !x in place of NULL comparison



Change NULL comparison to Boolean negation.Issue found using Coccinelle

Semantic patch used to solve the problem is as follows:

@replace_rule@
expression e;
@@

- e == NULL
+ !e

Signed-off-by: default avatarVatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e1a0d11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment