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_dummy.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_dummy.c')
-rw-r--r-- | sound/core/seq/seq_dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/seq/seq_dummy.c b/sound/core/seq/seq_dummy.c index ea945a5d2a0..5dd0e6a19e5 100644 --- a/sound/core/seq/seq_dummy.c +++ b/sound/core/seq/seq_dummy.c | |||
@@ -153,7 +153,7 @@ create_port(int idx, int type) | |||
153 | snd_seq_port_callback_t pcb; | 153 | snd_seq_port_callback_t pcb; |
154 | snd_seq_dummy_port_t *rec; | 154 | snd_seq_dummy_port_t *rec; |
155 | 155 | ||
156 | if ((rec = kcalloc(1, sizeof(*rec), GFP_KERNEL)) == NULL) | 156 | if ((rec = kzalloc(sizeof(*rec), GFP_KERNEL)) == NULL) |
157 | return NULL; | 157 | return NULL; |
158 | 158 | ||
159 | rec->client = my_client; | 159 | rec->client = my_client; |