提交 a65895e0 编写于 作者: M Mihai Burduselu 提交者: Takashi Iwai

ALSA: vx: remove 'out of memory' message

Reported by checkpatch.pl
Signed-off-by: NMihai Burduselu <michelcatalin@gmail.com>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 04bab350
......@@ -795,10 +795,8 @@ struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
return NULL;
chip = kzalloc(sizeof(*chip) + extra_size, GFP_KERNEL);
if (! chip) {
snd_printk(KERN_ERR "vx_core: no memory\n");
if (! chip)
return NULL;
}
mutex_init(&chip->lock);
chip->irq = -1;
chip->hw = hw;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册