From a73df85892964a436f9c7f2f803e143b8c97d1ac Mon Sep 17 00:00:00 2001 From: Maninder Singh Date: Thu, 25 Jun 2015 06:58:58 -0300 Subject: [media] usb/airspy: removing unneeded goto This patch removes unneded goto, reported by coccinelle. Signed-off-by: Maninder Singh Reviewed-by: Akhilesh Kumar Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/airspy/airspy.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/media') 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 @@ -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); -- cgit v1.2.3