diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-01-27 21:23:36 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-29 17:06:39 +0300 |
commit | 25899e02819944ffe7cbbf9b3350cb33beb90865 (patch) | |
tree | 6ebe4c89b7618e025ca5eb1879844a4ddbe74024 | |
parent | 1936f8f30066cd608d1cee5807a2adf380dda718 (diff) | |
download | linux-25899e02819944ffe7cbbf9b3350cb33beb90865.tar.xz |
Coccinelle: memdup: drop spurious line
The kmemdup line in the non-patch case was left over from the added kmemdup
line in the patch case.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | scripts/coccinelle/api/memdup.cocci | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/coccinelle/api/memdup.cocci b/scripts/coccinelle/api/memdup.cocci index 3d1aa71b7579..1249b727644b 100644 --- a/scripts/coccinelle/api/memdup.cocci +++ b/scripts/coccinelle/api/memdup.cocci @@ -49,7 +49,6 @@ statement S; @@ * to = \(kmalloc@p\|kzalloc@p\)(size,flag); - to = kmemdup(from,size,flag); if (to==NULL || ...) S * memcpy(to, from, size); |