summaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_prioq.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/seq_prioq.c
parentca2c0966562cfbf9273167a5b60e8fddc24078d6 (diff)
downloadblackbird-op-linux-ecca82b4b447f8df73c807a018dac3e2863912d9.tar.gz
blackbird-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/seq_prioq.c')
-rw-r--r--sound/core/seq/seq_prioq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_prioq.c b/sound/core/seq/seq_prioq.c
index a519732ed833..cd641bca9945 100644
--- a/sound/core/seq/seq_prioq.c
+++ b/sound/core/seq/seq_prioq.c
@@ -59,7 +59,7 @@ prioq_t *snd_seq_prioq_new(void)
{
prioq_t *f;
- f = kcalloc(1, sizeof(*f), GFP_KERNEL);
+ f = kzalloc(sizeof(*f), GFP_KERNEL);
if (f == NULL) {
snd_printd("oops: malloc failed for snd_seq_prioq_new()\n");
return NULL;
OpenPOWER on IntegriCloud