summaryrefslogtreecommitdiff
path: root/drivers/media/usb/airspy
diff options
context:
space:
mode:
authorManinder Singh <maninder1.s@samsung.com>2015-06-25 06:58:58 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 12:50:18 -0300
commita73df85892964a436f9c7f2f803e143b8c97d1ac (patch)
tree3e77a99f3835ee24b4bdfb30760ca898a676af71 /drivers/media/usb/airspy
parent5cc596c66fe7c725ec049ae2093e7242034c97d6 (diff)
[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>
Diffstat (limited to 'drivers/media/usb/airspy')
-rw-r--r--drivers/media/usb/airspy/airspy.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c
index 4069234abed5..8f2e1c277c5f 100644
--- a/drivers/media/usb/airspy/airspy.c
+++ b/drivers/media/usb/airspy/airspy.c
@@ -937,9 +937,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);
return ret;