Tag: 1e9d1b13efae7e0a2705611d47ae5f07e27015f0

drivers/dma: drop unnecesary memset

Author: Julia Lawall <julia@diku.dk> memset of 0 is not needed after kzalloc The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; statement S; @@ x = kzalloc(…); if (x == NULL) S … when != x -memset(x,0,…);// Signed-off-by: Julia Lawall Signed-off-by: Dan Williams — drivers/dma/dw_dmac.c | 2 — 1 …

Continue reading