summaryrefslogtreecommitdiff
path: root/coccinelle/equals-null.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'coccinelle/equals-null.cocci')
-rw-r--r--coccinelle/equals-null.cocci14
1 files changed, 0 insertions, 14 deletions
diff --git a/coccinelle/equals-null.cocci b/coccinelle/equals-null.cocci
deleted file mode 100644
index 957d828a8..000000000
--- a/coccinelle/equals-null.cocci
+++ /dev/null
@@ -1,14 +0,0 @@
-@@
-expression e;
-statement s;
-@@
-- if (e == NULL)
-+ if (!e)
-s
-@@
-expression e;
-statement s;
-@@
-- if (e != NULL)
-+ if (e)
-s