Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a65895e0 authored by Mihai Burduselu's avatar Mihai Burduselu Committed by Takashi Iwai
Browse files

ALSA: vx: remove 'out of memory' message



Reported by checkpatch.pl

Signed-off-by: default avatarMihai Burduselu <michelcatalin@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 04bab350
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;