[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>
This commit is contained in:
committed by
Jaroslav Kysela
parent
ca2c096656
commit
ecca82b4b4
@ -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;
|
||||
|
Reference in New Issue
Block a user