提交 a73df858 编写于 作者: M Maninder Singh 提交者: Mauro Carvalho Chehab

[media] usb/airspy: removing unneeded goto

This patch removes unneded goto,
reported by coccinelle.
Signed-off-by: NManinder Singh <maninder1.s@samsung.com>
Reviewed-by: NAkhilesh Kumar <akhilesh.k@samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册