diff options
| author | 2019-03-29 00:39:43 +0530 | |
|---|---|---|
| committer | 2019-03-29 17:15:31 +0100 | |
| commit | bdcca44e16a2e701724ee305c265e07c36beace7 (patch) | |
| tree | 82acd52d86c0c24b2c92a60fad320181798f7070 /tools/perf/scripts/python | |
| parent | Staging: rtl8192u: Use BIT macro (diff) | |
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: Vatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
