The kmemdup line in the non-patch case was left over from the added kmemdup line in the patch case.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -49,7 +49,6 @@ statement S; · 48 unmodified lines | ||
| 49 | 49 | @@ |
| 50 | 50 | |
| 51 | 51 | * to = \(kmalloc@p\|kzalloc@p\)(size,flag); |
| 52 | − to = kmemdup(from,size,flag); | |
| 53 | 52 | if (to==NULL || ...) S |
| 54 | 53 | * memcpy(to, from, size); |
| 55 | 54 | |