Received: by 10.223.176.5 with SMTP id f5csp1983457wra; Thu, 8 Feb 2018 06:42:30 -0800 (PST) X-Google-Smtp-Source: AH8x225FIM8cQH7S+Cuz5Vxtwa0NPZjv/qOrnf4rCzmo++Lqg6zcfRN7slzNwtGQPaEMb06vjJ1E X-Received: by 2002:a17:902:71cb:: with SMTP id t11-v6mr852524plm.229.1518100949969; Thu, 08 Feb 2018 06:42:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518100949; cv=none; d=google.com; s=arc-20160816; b=I9aTAS7b+DJzvI+rrRzwa4yCSSZlx1Vt5nPROqpJV83utTA5Isvm41uxs7CZh5MoN9 hj8u/Q6uJphaeJApBD59nmvXRLYtYIA5354CAv7+Bz+K/IZu/rAjbxNeYXd6pvMkUNGy tO7q+Uf72CW+IaCQu3LeiWtw1lCl6Qk98V5zhOaxkpJxKcYSNjtxfilQpkrfxFEBtrz5 yVdzvbROdaSeNtB8PfeOQFYnCWwkEcKY1Iq3qzoVuF4r/fwsOKgqjmWTg8P/kATFGq5z coZgNNQPQX9jpp2X9rf2DpfJR+tRMLgbBLI6kB3KiPbhrWDsbBiZaIdFbnMawDi8Sktw stHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=pWNiJaJQltieEZBXa4bfZopgdMMLi0DEcZP5Wfa9nN4=; b=r9PBBViRRleccGwL1MT1Lr8F1PTy7QCRv6lOFnbtMwziFKPdrkfQ4tsyG2mT4gupeI XhbZvXqyZa/myaps/aX8YACTqPo9XGtwouIA8fSDkj0iEgbOfWAGMtaxTrM4/Iig4Ic2 bMZQ2J3EugoSdszr21pfGeaTHhiSy740rc8gGf41FEcrFN2aMF+6CZIu/gcyE6DRfZBa S2DupodlR+6ai91fKJIUnVvz0tJl2mjQ2jJXpYESoahImXXkjYXWpE4cz+MtC0+BxVV4 rMSWqp5TxS0ITI4VJryuaLfGUjCMZZm95WideP4pyTvwOB1ebgH9kbmanx5D2kgafpa4 xyzw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b89si63698pfk.163.2018.02.08.06.42.16; Thu, 08 Feb 2018 06:42:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752215AbeBHOkX (ORCPT + 99 others); Thu, 8 Feb 2018 09:40:23 -0500 Received: from mout.web.de ([212.227.15.14]:48049 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752208AbeBHOkU (ORCPT ); Thu, 8 Feb 2018 09:40:20 -0500 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 Cc: LKML , kernel-janitors@vger.kernel.org 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit 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= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) -- 2.16.1