[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:
Maninder Singh 2015-06-25 06:58:58 -03:00 committed by Mauro Carvalho Chehab
parent 5cc596c66f
commit a73df85892
1 changed files with 0 additions and 3 deletions

View File

@ -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);