mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 21:06:41 +07:00
[media] usb/airspy: removing unneeded goto
This patch removes unneded goto, reported by coccinelle. Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Reviewed-by: Akhilesh Kumar <akhilesh.k@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
5cc596c66f
commit
a73df85892
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user