diff options
author | 2009-12-19 08:18:03 +0100 | |
---|---|---|
committer | 2009-12-19 09:40:26 +0100 | |
commit | ef86f581f7e8b29cb58d7f4e892e1a91b3805124 (patch) | |
tree | ef8e68bc136b24f6fd0bfee26b45f653123d38d9 /kernel/resource.c | |
parent | ALSA: AACI: switch to per-pcm locking (diff) | |
download | wireguard-linux-ef86f581f7e8b29cb58d7f4e892e1a91b3805124.tar.xz wireguard-linux-ef86f581f7e8b29cb58d7f4e892e1a91b3805124.zip |
ALSA: Use kzalloc for allocating only one thing
Use kzalloc rather than kcalloc(1,...)
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
@@
- kcalloc(1,
+ kzalloc(
...)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions