Commit 25899e02 authored by Julia Lawall's avatar Julia Lawall Committed by Masahiro Yamada

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: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 1936f8f3
...@@ -49,7 +49,6 @@ statement S; ...@@ -49,7 +49,6 @@ statement S;
@@ @@
* to = \(kmalloc@p\|kzalloc@p\)(size,flag); * to = \(kmalloc@p\|kzalloc@p\)(size,flag);
to = kmemdup(from,size,flag);
if (to==NULL || ...) S if (to==NULL || ...) S
* memcpy(to, from, size); * memcpy(to, from, size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment