Julia Lawall 1e9d1b13ef drivers/dma: drop unnecesary memset
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: Julia Lawall <julia@diku.dk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-12-22 15:29:05 -07:00
..
2009-12-22 15:29:05 -07:00
2009-09-08 17:53:04 -07:00
2009-12-11 21:24:33 -07:00
2009-09-08 17:53:03 -07:00
2009-09-08 17:53:03 -07:00