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

Commit e996e676 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_uac1: remove an unneeded NULL check"

parents bd4ddc85 4edd5865
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -629,10 +629,6 @@ static int gaudio_open_snd_dev(struct gaudio *card)
	fn_cap = opts->fn_cap;
	fn_cntl = opts->fn_cntl;

	if (!card) {
		pr_err("%s: Card is NULL", __func__);
		return -ENODEV;
	}
	/* Open control device */
	snd = &card->control;
	snd->filp = filp_open(fn_cntl, O_RDWR, 0);