summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2008-05-21 01:33:06 +0200
committerDan Williams <dan.j.williams@intel.com>2008-05-20 22:51:20 +0200
commiteccf2144e1232c33a8235033ffa079b6ebf92faf (patch)
tree870dece32d3a26405f335884ffee0276d23f4a65 /net
parentfsldma: update the fsldma driver MAINTAINERS info (diff)
downloadlinux-eccf2144e1232c33a8235033ffa079b6ebf92faf.tar.xz
linux-eccf2144e1232c33a8235033ffa079b6ebf92faf.zip
iop-adma: fixup some kzalloc/memset confusions
1) Remove an explicit memset(.., 0, ...) to a variable allocated with kzalloc (i.e. 'dest'). 2) Allocate 'src' with kmalloc instead of kzalloc as all elements of the 'src' buffer are initialized in a 'for(...)' loop just after. 3) remove useless 'sizeof(u8)', which always returns 1, when computing the size of the memory to be allocated. Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions