-
由 Julia Lawall 提交于
memset of 0 is not needed after kzalloc The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x; statement S; @@ x = kzalloc(...); if (x == NULL) S ... when != x -memset(x,0,...);// </smpl> Signed-off-by: NJulia Lawall <julia@diku.dk> Signed-off-by: NDan Williams <dan.j.williams@intel.com>
1e9d1b13