From patchwork Mon Oct 2 20:40:44 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: 9981243 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 97F916029B for ; Mon, 2 Oct 2017 20:46:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88171288EE for ; Mon, 2 Oct 2017 20:46:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CCF228991; Mon, 2 Oct 2017 20:46:34 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 16446288EE for ; Mon, 2 Oct 2017 20:46:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vWqiS0l/Ci+DcCu4/kbn3h+aPL91DwbhzEx/3mmkIt8=; b=IerNfDG9OZEmL0 X7OP/rIOTonAy67cSGSL/+JlaPZpM6JQFmA9CwXQmxrPBTiXXO01e5UZuMfXqEnm4uB3asUFo3K0f iaJx6VZpyj2xl5CKKD9/HpInC6zxSivU3iDBfzP3y+VzqmfwyQ7Zkb0N1QghIuZHuAXzAaOB8EJSm VHg79w7MakApm32IZOT74RiiMFIk5LxccB/N3WL/NaACg6/YCYfIGNBfB+z0C0KtoKfxmfGHPCwOY DnpgqJHBGHVPLtGIsSY80+zeR1bMvv5+2xy9A+iRm3NO5qLfkRWb+XJvyG+ehXjcDxMC2qqigqh2a 34lQAX40aefpNxjg+ESg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dz7be-0001BW-9c; Mon, 02 Oct 2017 20:46:26 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dz7ba-00018l-VD for linux-arm-kernel@lists.infradead.org; Mon, 02 Oct 2017 20:46:25 +0000 Received: from [192.168.1.3] ([77.182.170.85]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MA5v3-1eAMzv1kAD-00BJ5d; Mon, 02 Oct 2017 22:40:46 +0200 Subject: [PATCH 2/2] ARM: s3c64xx: Delete an unnecessary return statement in samsung_bl_set() From: SF Markus Elfring To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski , Kukjin Kim , Russell King References: <0b695686-2e07-910d-6278-91d54a1b0b2f@users.sourceforge.net> Message-ID: <6d599b4d-93e3-3e3e-875a-f24ee879ca74@users.sourceforge.net> Date: Mon, 2 Oct 2017 22:40:44 +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: <0b695686-2e07-910d-6278-91d54a1b0b2f@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:q+kXBfBxivCtkk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evyijyQSFVXJuu0i5KsAoQeDCLSl5V0dnRb1QQA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171002_134623_358479_0D1F0624 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, LKML Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 2 Oct 2017 22:30:55 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected function. Signed-off-by: Markus Elfring --- arch/arm/mach-s3c64xx/dev-backlight.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-s3c64xx/dev-backlight.c b/arch/arm/mach-s3c64xx/dev-backlight.c index 7e2db762c442..7ef8b9019344 100644 --- a/arch/arm/mach-s3c64xx/dev-backlight.c +++ b/arch/arm/mach-s3c64xx/dev-backlight.c @@ -141,5 +141,4 @@ void __init samsung_bl_set(struct samsung_bl_gpio_info *gpio_info, kfree(samsung_bl_data); err_data: kfree(samsung_bl_device); - return; }