summaryrefslogtreecommitdiffstats
path: root/arch/m32r
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-12-19 08:30:30 +0100
committerDan Williams <dan.j.williams@intel.com>2009-12-22 23:29:05 +0100
commit1e9d1b13efae7e0a2705611d47ae5f07e27015f0 (patch)
treebb5f9eed3636080b2dc8a4791d03b812e65a6786 /arch/m32r
parentsh: fix DMA driver's descriptor chaining and cookie assignment (diff)
downloadlinux-1e9d1b13efae7e0a2705611d47ae5f07e27015f0.tar.xz
linux-1e9d1b13efae7e0a2705611d47ae5f07e27015f0.zip
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>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions