[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
@@ -153,7 +153,7 @@ create_port(int idx, int type)
|
||||
snd_seq_port_callback_t pcb;
|
||||
snd_seq_dummy_port_t *rec;
|
||||
|
||||
if ((rec = kcalloc(1, sizeof(*rec), GFP_KERNEL)) == NULL)
|
||||
if ((rec = kzalloc(sizeof(*rec), GFP_KERNEL)) == NULL)
|
||||
return NULL;
|
||||
|
||||
rec->client = my_client;
|
||||
|
Reference in New Issue
Block a user