diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-09 14:20:49 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 10:48:06 +0200 |
commit | ecca82b4b447f8df73c807a018dac3e2863912d9 (patch) | |
tree | 473018d17b1616e6b74d1924f046866214c38c96 /sound/core/seq/oss/seq_oss_init.c | |
parent | ca2c0966562cfbf9273167a5b60e8fddc24078d6 (diff) | |
download | linux-stable-ecca82b4b447f8df73c807a018dac3e2863912d9.tar.gz linux-stable-ecca82b4b447f8df73c807a018dac3e2863912d9.tar.bz2 linux-stable-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/oss/seq_oss_init.c')
-rw-r--r-- | sound/core/seq/oss/seq_oss_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/oss/seq_oss_init.c b/sound/core/seq/oss/seq_oss_init.c index bac4b4f1a94e..1ab1cf8158c8 100644 --- a/sound/core/seq/oss/seq_oss_init.c +++ b/sound/core/seq/oss/seq_oss_init.c @@ -193,7 +193,7 @@ snd_seq_oss_open(struct file *file, int level) int i, rc; seq_oss_devinfo_t *dp; - if ((dp = kcalloc(1, sizeof(*dp), GFP_KERNEL)) == NULL) { + if ((dp = kzalloc(sizeof(*dp), GFP_KERNEL)) == NULL) { snd_printk(KERN_ERR "can't malloc device info\n"); return -ENOMEM; } |