mirror of
https://github.com/torvalds/linux.git
synced 2024-10-26 23:12:36 +00:00
ALSA: vx: remove 'out of memory' message
Reported by checkpatch.pl Signed-off-by: Mihai Burduselu <michelcatalin@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
04bab35044
commit
a65895e0ee
|
@ -795,10 +795,8 @@ struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
chip = kzalloc(sizeof(*chip) + extra_size, GFP_KERNEL);
|
chip = kzalloc(sizeof(*chip) + extra_size, GFP_KERNEL);
|
||||||
if (! chip) {
|
if (! chip)
|
||||||
snd_printk(KERN_ERR "vx_core: no memory\n");
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
|
||||||
mutex_init(&chip->lock);
|
mutex_init(&chip->lock);
|
||||||
chip->irq = -1;
|
chip->irq = -1;
|
||||||
chip->hw = hw;
|
chip->hw = hw;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user