diff options
| author | Varsha Rao <[email protected]> | 2018-06-03 16:41:35 +0530 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-06-27 19:04:41 +0300 |
| commit | 4e5f881d430aa243c8723c0de48fa16af30b292d (patch) | |
| tree | ca882deaa1c7c2c4e93fe8f43a311ebe43106da0 /tools/perf/scripts/python | |
| parent | 38013eef0233bdd1133570e74192eefe989cb87d (diff) | |
net: ipw2x00: Replace NULL comparison with !priv
Remove extra parentheses and replace NULL comparison with !priv, to fix
clang warning of extraneous parentheses and check patch issue. Following
coccinelle script is used to fix it.
@disable is_null,paren@
expression e;
statement s;
@@
if (
- (e==NULL)
+!e
)
s
Signed-off-by: Varsha Rao <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions