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

Commit b7baa9a0 authored by Joe Perches's avatar Joe Perches Committed by Takashi Iwai
Browse files

ALSA: hda - Remove OOM message after input_allocate_device



Emitting an OOM message isn't necessary after input_allocate_device
as there's a generic OOM and a dump_stack already done.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 05503214
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -151,10 +151,8 @@ static int snd_hda_do_attach(struct hda_beep *beep)
	int err;

	input_dev = input_allocate_device();
	if (!input_dev) {
		printk(KERN_INFO "hda_beep: unable to allocate input device\n");
	if (!input_dev)
		return -ENOMEM;
	}

	/* setup digital beep device */
	input_dev->name = "HDA Digital PCBeep";