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_clientmgr.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_clientmgr.c')
-rw-r--r-- | sound/core/seq/seq_clientmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index bd106625a783..a886db94b1fa 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c | |||
@@ -203,7 +203,7 @@ static client_t *seq_create_client1(int client_index, int poolsize) | |||
203 | client_t *client; | 203 | client_t *client; |
204 | 204 | ||
205 | /* init client data */ | 205 | /* init client data */ |
206 | client = kcalloc(1, sizeof(*client), GFP_KERNEL); | 206 | client = kzalloc(sizeof(*client), GFP_KERNEL); |
207 | if (client == NULL) | 207 | if (client == NULL) |
208 | return NULL; | 208 | return NULL; |
209 | client->pool = snd_seq_pool_new(poolsize); | 209 | client->pool = snd_seq_pool_new(poolsize); |