Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);