Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752148AbbFYKBL (ORCPT ); Thu, 25 Jun 2015 06:01:11 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:51905 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752658AbbFYKBF (ORCPT ); Thu, 25 Jun 2015 06:01:05 -0400 X-AuditID: cbfee68f-f793b6d000005f66-eb-558bd15ff476 From: Maninder Singh To: crope@iki.fi, mchehab@osg.samsung.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: pankaj.m@samsung.com, Maninder Singh Subject: [PATCH 1/1] usb/airspy: removing unneeded goto Date: Thu, 25 Jun 2015 15:28:58 +0530 Message-id: <1435226338-16368-1-git-send-email-maninder1.s@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsWyRsSkWjf+YneowddmGYvvze/ZLC7vmsNm 0bNhK6vF4fltLBarn1VY3HuzlcmBzePw14UsHlv677J79G1ZxejxeZNcAEsUl01Kak5mWWqR vl0CV8aFiX0sBTdYK/re3WNrYLzP0sXIwSEhYCJxpK2wi5ETyBSTuHBvPVsXIxeHkMBSRomF q9ayw9Rc+JQPEV/EKNH79C8zhPOTUeLO8j3MIN1sAnoSq3btYQGxRQTSJJZ8msAI0sws4CQx /aseSFhYwFxi3quTTCA2i4CqxJvvtxhBbF4Bd4nN3+azQuxSkJgzyQbins9sEt/eMkOUC0h8 m3wI6mRZiU0HmCFKJCUOrrjBMoFRcAEjwypG0dSC5ILipPQiY73ixNzi0rx0veT83E2MwMA8 /e9Z/w7GuwesDzEKcDAq8fCeONcdKsSaWFZcmXuI0RRow0RmKdHkfGD455XEGxqbGVmYmpga G5lbmimJ8y6U+hksJJCeWJKanZpakFoUX1Sak1p8iJGJg1OqgVEzYp/Lsg0CJRFLppc2GLzl OHmJ51Kjgedkb7Xve4K+NfzK2Ca/6GUv5wXlTrWGtRJPQ6blX1Z6+WnVYs7Hp29y1EsH7Vzn tz7UZ4XHpclTLDneN6tu+Wrk+L7EQkpxyjYWroOHPabz1Sjcfb87dP6VjdGt5x7fWbFsd3+i kVWg0YHsJ+HrNd8qsRRnJBpqMRcVJwIAt9ATRUcCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeLIzCtJLcpLzFFi42I5/e+xgG78xe5Qg/v7RS2+N79ns7i8aw6b Rc+GrawWh+e3sVisflZhce/NViYHNo/DXxeyeGzpv8vu0bdlFaPH501yASxRDYw2GamJKalF Cql5yfkpmXnptkrewfHO8aZmBoa6hpYW5koKeYm5qbZKLj4Bum6ZOUDLlRTKEnNKgUIBicXF Svp2mCaEhrjpWsA0Ruj6hgTB9RgZoIGENYwZFyb2sRTcYK3oe3ePrYHxPksXIweHhICJxIVP +V2MnECmmMSFe+vZuhi5OIQEFjFK9D79ywzh/GSUuLN8DzNIFZuAnsSqXXtYQGwRgTSJJZ8m MIIMYhZwkpj+VQ8kLCxgLjHv1UkmEJtFQFXizfdbjCA2r4C7xOZv81kh9ipIzJlkM4GRewEj wypG0dSC5ILipPRcQ73ixNzi0rx0veT83E2M4NB/JrWDcWWDxSFGAQ5GJR7enQe6Q4VYE8uK K3MPMUpwMCuJ8HYdBArxpiRWVqUW5ccXleakFh9iNAVaPpFZSjQ5HxiXeSXxhsYm5qbGppYm FiZmlkrivCfzfUKFBNITS1KzU1MLUotg+pg4OKUaGNP+r5q57Weer/GKF+c+n5x25vMPJ885 VTGrzVf0ztE87cjCadahYpEjK3u+afeRSwukcg6JPV93qr+pZfLri1Fh87cYfSs+e6kw0emA wtcXE6bExay70JDR87Duf+Xe1RNOB/vuXpQu+OVd/pWps2un/+IqSmo5f1v1QeP2xT/Sp5pa rJi6Jv2JEktxRqKhFnNRcSIAM8GMq5MCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 31 This patch removes unneded goto, reported by coccinelle. Signed-off-by: Maninder Singh Reviewed-by: Akhilesh Kumar --- drivers/media/usb/airspy/airspy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c index 4069234..8f2e1c2 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; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/