diff options
author | Maninder Singh <maninder1.s@samsung.com> | 2015-06-25 11:58:58 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-11 17:50:18 +0200 |
commit | a73df85892964a436f9c7f2f803e143b8c97d1ac (patch) | |
tree | 3e77a99f3835ee24b4bdfb30760ca898a676af71 /drivers | |
parent | [media] i2c: Make all i2c devices visible if COMPILE_TEST=y (diff) | |
download | linux-a73df85892964a436f9c7f2f803e143b8c97d1ac.tar.xz linux-a73df85892964a436f9c7f2f803e143b8c97d1ac.zip |
[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')
-rw-r--r-- | drivers/media/usb/airspy/airspy.c | 3 |
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; |