From patchwork Thu Feb 8 14:40:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 10207233 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 63687602D8 for ; Thu, 8 Feb 2018 14:40:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5614829520 for ; Thu, 8 Feb 2018 14:40:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5437E29593; Thu, 8 Feb 2018 14:40:31 +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, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C75CD29520 for ; Thu, 8 Feb 2018 14:40:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BFA796E63F; Thu, 8 Feb 2018 14:40:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [212.227.15.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id DE1F16E63F for ; Thu, 8 Feb 2018 14:40:17 +0000 (UTC) Received: from [192.168.1.2] ([78.49.237.151]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LfzgJ-1f4Y8i0szT-00pZRP; Thu, 08 Feb 2018 15:40:15 +0100 Subject: [PATCH 3/3] drm/gma500: Delete an unnecessary return statement in oaktrail_crtc_hdmi_dpms() From: SF Markus Elfring To: dri-devel@lists.freedesktop.org, David Airlie , Patrik Jakobsson References: <079c31b2-a2e6-cf42-cecb-e1e10dd241f6@users.sourceforge.net> Message-ID: <9871ef86-0cd6-aab8-1252-53bc08fc79af@users.sourceforge.net> Date: Thu, 8 Feb 2018 15:40:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <079c31b2-a2e6-cf42-cecb-e1e10dd241f6@users.sourceforge.net> Content-Language: en-US X-Provags-ID: V03:K0:Ibl/1P3Ude+R8+TEt6nxAqPEteQaRDpiJ2eqasNE+H7ftvmQ0xJ cKPQJ1MlLkTrw4+79f02UX4FtZWWduQNOTP9VyMcoP/j8CwFxKHz5dvEvsEmHQD8T4NBQv1 owBsIuNZW2tIRspf+YYtGpbcBwSe34VlbH4ZMGlo3xbTXre4fBykcmInELqkd2am1mqNnPf vb8Gl7dmXayuUtWA3NyzA== X-UI-Out-Filterresults: notjunk:1; V01:K0:5sDfNeVJ2Jk=:hDH08bHv1ZcHwL0MpewAUY wb0VrdZzI/Nu5GuPZiZ4CFiit3iecAoVv6PiWGdz4VrHrVmXUKoe3qafJGY2wHNIPhQCnMa/Q f1+lBFWlWHgp9x+YbuxuqtlrR+s+mv5Mc5wvYGWccxCdCdnPlrYCcel2KlGyKvrxE1ecIwVzt U35lENPAcJXbYu/4xewurP8TkGRX9bih70D2K+6uCoptWV5j6XbH6Tj26JYR7jVs7hKicxIYd iDJ5aGE5a4DX5p1Hwg8fFHGXJm8CsJoSGS/Fig4izr2VICflsFsRRNgC8IL4dK5Syqesce9rh 1YiVIrIIgFCE3fm/3poQCKEv7Kg8JqrvPglyWtp5khimRomZhhiuNREem5CjCxbMllOAT63Yg hrbD6OsAn5EqUwagMlevltp87PQL+PxdQEgCcEiZG4J2fHkT4HLCdITbG9WPmjcbmD5IoEhKH vcrCc8FtHX9f3fiVNTpTa8q1WWISN3f6t9h7r8Dm529lFvfKja3wNfjmF0jTBAAqDqg3h+2u6 f6aszuqcnJr8mO7qAx3BPWXZbOWgc6iMrKsuuwQdMvjxGKYXnDEe6u39dK7RaV1eNUpjyM2Ls DxDD99aULheux9FSTAHcolqDUFeDQk/aHXU8xNig38xBOsH2lXKDxEPNFzeOBO8NVZa98U4Pm 8Ohig28o97h5cvLb7Lyymso4+1FPbwgm7ACjGUJ6twSD7kwZ1sdXwUdzh2RjkErf0mMGcHIsP AA/lr/exs59wwkNPfmYA7S2t949Y9b8ChgOg1Zza4bYpTk4SOvTHOWUO4685XHRdfS68N4lbC F+bYHImwBsHWSZJVdOeEsxEKXMkwlUzpsieHVhdCmqmUNZRFpk= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kernel-janitors@vger.kernel.org, LKML Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Thu, 8 Feb 2018 15:17:48 +0100 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 --- drivers/gpu/drm/gma500/oaktrail_hdmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/oaktrail_hdmi.c b/drivers/gpu/drm/gma500/oaktrail_hdmi.c index dbc58e5130bb..24c7c6edfca5 100644 --- a/drivers/gpu/drm/gma500/oaktrail_hdmi.c +++ b/drivers/gpu/drm/gma500/oaktrail_hdmi.c @@ -484,8 +484,6 @@ void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode) /* LNC Chicken Bits - Squawk! */ REG_WRITE(0x70400, 0x4000); - - return; } static void oaktrail_hdmi_dpms(struct drm_encoder *encoder, int mode)