summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/free/put_device.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/coccinelle/free/put_device.cocci')
-rw-r--r--scripts/coccinelle/free/put_device.cocci1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/coccinelle/free/put_device.cocci b/scripts/coccinelle/free/put_device.cocci
index 120921366e84..f09f1e79bfa6 100644
--- a/scripts/coccinelle/free/put_device.cocci
+++ b/scripts/coccinelle/free/put_device.cocci
@@ -21,7 +21,6 @@ id = of_find_device_by_node@p1(x)
if (id == NULL || ...) { ... return ...; }
... when != put_device(&id->dev)
when != platform_device_put(id)
- when != of_dev_put(id)
when != if (id) { ... put_device(&id->dev) ... }
when != e1 = (T)id
when != e1 = (T)(&id->dev)