diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2018-01-27 19:23:36 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-29 23:06:39 +0900 |
commit | 25899e02819944ffe7cbbf9b3350cb33beb90865 (patch) | |
tree | 6ebe4c89b7618e025ca5eb1879844a4ddbe74024 /scripts | |
parent | 1936f8f30066cd608d1cee5807a2adf380dda718 (diff) | |
download | linux-25899e02819944ffe7cbbf9b3350cb33beb90865.tar.bz2 |
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>
Diffstat (limited to 'scripts')
-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); |