Skip to content

Commit a65895e

Browse files
mihai-burduselutiwai
authored andcommitted
ALSA: vx: remove 'out of memory' message
Reported by checkpatch.pl Signed-off-by: Mihai Burduselu <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 04bab35 commit a65895e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sound/drivers/vx/vx_core.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -795,10 +795,8 @@ struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw,
795795
return NULL;
796796

797797
chip = kzalloc(sizeof(*chip) + extra_size, GFP_KERNEL);
798-
if (! chip) {
799-
snd_printk(KERN_ERR "vx_core: no memory\n");
798+
if (! chip)
800799
return NULL;
801-
}
802800
mutex_init(&chip->lock);
803801
chip->irq = -1;
804802
chip->hw = hw;

0 commit comments

Comments
 (0)