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/seq_memory.c | |
parent | ca2c0966562cfbf9273167a5b60e8fddc24078d6 (diff) | |
download | linux-ecca82b4b447f8df73c807a018dac3e2863912d9.tar.gz linux-ecca82b4b447f8df73c807a018dac3e2863912d9.tar.bz2 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_memory.c')
-rw-r--r-- | sound/core/seq/seq_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_memory.c b/sound/core/seq/seq_memory.c index 03acb2d519ba..d4d7d326c4b1 100644 --- a/sound/core/seq/seq_memory.c +++ b/sound/core/seq/seq_memory.c @@ -452,7 +452,7 @@ pool_t *snd_seq_pool_new(int poolsize) pool_t *pool; /* create pool block */ - pool = kcalloc(1, sizeof(*pool), GFP_KERNEL); + pool = kzalloc(sizeof(*pool), GFP_KERNEL); if (pool == NULL) { snd_printd("seq: malloc failed for pool\n"); return NULL; |