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

[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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment