-
Committer:
Patrik Flykt
-
Author(s):
Daniel Wagner
-
Date:
2013-08-07 06:46:52 UTC
-
Revision ID:
git-v1:bc16b1adf3f557173688ef47c3a18af9cccc4c2d
scripts: Do not compare expression against NULL
This patch generate via coccinelle with:
@ disable is_null,isnt_null1 @
expression E;
@@
(
- E == NULL
+ !E
|
- E != NULL
+ E
)