From patchwork Sat Sep 16 12:20:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9954221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B7E9A601C0 for ; Sat, 16 Sep 2017 12:21:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A622A29132 for ; Sat, 16 Sep 2017 12:21:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A8CA29142; Sat, 16 Sep 2017 12:21:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B3D629132 for ; Sat, 16 Sep 2017 12:21:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbdIPMVM (ORCPT ); Sat, 16 Sep 2017 08:21:12 -0400 Received: from mout.web.de ([212.227.15.4]:65412 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751240AbdIPMVL (ORCPT ); Sat, 16 Sep 2017 08:21:11 -0400 Received: from [192.168.1.2] ([78.48.47.134]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lgpcs-1d6ObW02Zq-00oG6t; Sat, 16 Sep 2017 14:20:48 +0200 Subject: [PATCH 2/3] [media] WL1273: Delete an unnecessary goto statement in wl1273_fm_suspend() From: SF Markus Elfring To: linux-media@vger.kernel.org, Bhumika Goyal , "Gustavo A. R. Silva" , Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: Date: Sat, 16 Sep 2017 14:20:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-Provags-ID: V03:K0:YUn+TeVFRW9gQg+6FUSmuSWb829d85225QpWlwPZ1EuzUh5PumS TTX6MriHMK2vuOhPxaTTbAi3kcQ0QO5qdCsJUeHfAX5qFFCQ+84scTD0oM30fwJYWC4+Tgr r/3F9XnL2QcrmA/mFCVErTBjgfG+8E+xGvrNfj9cBm2no8MQF2j2h302dJrgE27PLKMU1De GrLbH3GmipUXcWVSzyBFg== X-UI-Out-Filterresults: notjunk:1; V01:K0:S7gUi1XO+F8=:FSyza25yO0Bfp31xOOYMf6 rjyvxAUxwGz83bDkYc+szs7LabmKzQO+cRKcnjGmQSb8MQQiCCBd7NIk4oSUZOIwSMKVcacPJ F46a63K76iu22IObR34YcWYNsKpPfttDeAReFHcUHO/JPBkMOCan/9vEgQ8Fp8iRGaI/jaZqT RxUki2Vj4EpPORYn354n+XLBE8IH+OYyxh4HxWADD+GzxJzia7O0F1KHjx+o/xyteVnWSAFjC Sp6c8I/X24foSmBfNekLkBmaCkVoM+1GkUFuxpNfXThF2GlGCA2yDcxpyNLkZUnZOtOlGUF8X 8WGy+nzbWFTCH1CcTXb72iAXCx3xi0998rCuwUXMt17z95UuCbPu+VD1TStmKLIVXCe/JbRNR UZhqxTSlt4KkpRgq9iuWuvXvO+Ez3/h4/N0eP4eBiYoOX3KQzgLqGwlVEpwCcqts1YTiV3I4M +4067rLRoYtRG0QaXjk2RxBrJWt38MuYbHO4BBUQIUjmyTTf+0I4xqdwOg6gnkhk1lvlrx3vn gXtUL4tkF+Nm6I782Vza08i6KpkgeecaN+SdXvBpstD3GqSAVbrdNDzBYyqOyofvtuF5Lgz5M 3QNq3QAHJht/EgqgTWfzN+gKF7HzpZiSnYj/FBkKDS6SavLhnKoUFDrawwTDCOEjJZh6A0f+w vdp2BGxNJL7LDY5+KBLIxYnSDflMCoqyW8+mnJdhYg7VEmhD4D6Ozy7ycoSVr/KP8nge8RXG4 F4zHNCFnB6D8e8qtCNWR6zAbkkVxfvAfQjJkuDhjHqDDhpeSMwjx4Rox5P5JoivGek3bM9iO2 HChnlkvBbS6nQzPRkHF+vQ34EgX1zi/tNpkIeGvJ7EZ83UAxTI= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Sat, 16 Sep 2017 13:53:22 +0200 * Remove an extra goto statement. * Delete the label "out" which became unnecessary with this refactoring. Signed-off-by: Markus Elfring --- drivers/media/radio/radio-wl1273.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 020a792173f6..74dc3195ea2c 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c @@ -683,12 +683,9 @@ static int wl1273_fm_suspend(struct wl1273_device *radio) else r = -EINVAL; - if (r) { + if (r) dev_err(radio->dev, "%s: POWER_SET fails: %d\n", __func__, r); - goto out; - } -out: return r; }