summaryrefslogtreecommitdiffstats
path: root/sound/core/seq/instr/ainstr_gf1.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-09-09 14:20:49 +0200
committerJaroslav Kysela <perex@suse.cz>2005-09-12 10:48:06 +0200
commitecca82b4b447f8df73c807a018dac3e2863912d9 (patch)
tree473018d17b1616e6b74d1924f046866214c38c96 /sound/core/seq/instr/ainstr_gf1.c
parentca2c0966562cfbf9273167a5b60e8fddc24078d6 (diff)
downloadtalos-op-linux-ecca82b4b447f8df73c807a018dac3e2863912d9.tar.gz
talos-op-linux-ecca82b4b447f8df73c807a018dac3e2863912d9.zip
[ALSA] Replace with kzalloc() - seq stuff
ALSA sequencer,Instrument layer,ALSA<-OSS sequencer Replace kcalloc(1,..) with kzalloc(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/instr/ainstr_gf1.c')
-rw-r--r--sound/core/seq/instr/ainstr_gf1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/instr/ainstr_gf1.c b/sound/core/seq/instr/ainstr_gf1.c
index 32e91c6b25fe..207c2c54bf1d 100644
--- a/sound/core/seq/instr/ainstr_gf1.c
+++ b/sound/core/seq/instr/ainstr_gf1.c
@@ -61,7 +61,7 @@ static int snd_seq_gf1_copy_wave_from_stream(snd_gf1_ops_t *ops,
return -EFAULT;
*data += sizeof(xp);
*len -= sizeof(xp);
- wp = kcalloc(1, sizeof(*wp), gfp_mask);
+ wp = kzalloc(sizeof(*wp), gfp_mask);
if (wp == NULL)
return -ENOMEM;
wp->share_id[0] = le32_to_cpu(xp.share_id[0]);
OpenPOWER on IntegriCloud