diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c index 4069234abed5432c7fbf2f867da9c0235d4eba37..8f2e1c277c5f3a02f8e5c5ef4978dc460a6a1e8c 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);