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

Commit a73df858 authored by Maninder Singh's avatar Maninder Singh Committed by Mauro Carvalho Chehab
Browse files

[media] usb/airspy: removing unneeded goto



This patch removes unneded goto,
reported by coccinelle.

Signed-off-by: default avatarManinder Singh <maninder1.s@samsung.com>
Reviewed-by: default avatarAkhilesh Kumar <akhilesh.k@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 5cc596c6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -936,9 +936,6 @@ static int airspy_set_if_gain(struct airspy *s)

	ret = airspy_ctrl_msg(s, CMD_SET_VGA_GAIN, 0, s->if_gain->val,
			&u8tmp, 1);
	if (ret)
		goto err;
err:
	if (ret)
		dev_dbg(s->dev, "failed=%d\n", ret);