diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-09 08:20:49 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 04:48:06 -0400 |
commit | ecca82b4b447f8df73c807a018dac3e2863912d9 (patch) | |
tree | 473018d17b1616e6b74d1924f046866214c38c96 /sound/core/seq/seq_system.c | |
parent | ca2c0966562cfbf9273167a5b60e8fddc24078d6 (diff) |
[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_system.c')
-rw-r--r-- | sound/core/seq/seq_system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/seq/seq_system.c b/sound/core/seq/seq_system.c index e8f0a6683d5..0d9eff85ab8 100644 --- a/sound/core/seq/seq_system.c +++ b/sound/core/seq/seq_system.c | |||
@@ -126,8 +126,8 @@ int __init snd_seq_system_client_init(void) | |||
126 | snd_seq_client_info_t *inf; | 126 | snd_seq_client_info_t *inf; |
127 | snd_seq_port_info_t *port; | 127 | snd_seq_port_info_t *port; |
128 | 128 | ||
129 | inf = kcalloc(1, sizeof(*inf), GFP_KERNEL); | 129 | inf = kzalloc(sizeof(*inf), GFP_KERNEL); |
130 | port = kcalloc(1, sizeof(*port), GFP_KERNEL); | 130 | port = kzalloc(sizeof(*port), GFP_KERNEL); |
131 | if (! inf || ! port) { | 131 | if (! inf || ! port) { |
132 | kfree(inf); | 132 | kfree(inf); |
133 | kfree(port); | 133 | kfree(port); |