From patchwork Mon Nov 27 21:26:08 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: 10078135 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 98084602BC for ; Mon, 27 Nov 2017 21:26:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8944728F8C for ; Mon, 27 Nov 2017 21:26:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D90C28FF8; Mon, 27 Nov 2017 21:26:21 +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 379AF28F8C for ; Mon, 27 Nov 2017 21:26:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EB426E3B7; Mon, 27 Nov 2017 21:26:20 +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.4]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB1E46E3B7 for ; Mon, 27 Nov 2017 21:26:18 +0000 (UTC) Received: from [192.168.1.3] ([77.182.143.129]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M0hws-1f7QAp0D2U-00usuB; Mon, 27 Nov 2017 22:26:09 +0100 Subject: [PATCH 3/5] radeon_backlight: Delete an unnecessary return statement in radeonfb_bl_init() From: SF Markus Elfring To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Bartlomiej Zolnierkiewicz , Benjamin Herrenschmidt References: <93c99f89-2d97-0e95-fe57-7b7a0824e864@users.sourceforge.net> Message-ID: Date: Mon, 27 Nov 2017 22:26:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <93c99f89-2d97-0e95-fe57-7b7a0824e864@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:XxVKYC8sYnSXMGTNWTcSTicdIN1dIzM/Sn5hNVoSeYJTvjaCYe8 rwxiQGlCDJdCkMUwHYPN+u3kRFjNS7MGVCeoNypJX34hYV7MhjcN2MV5FsNSZFA+XBtw85W RchYotAmlsQ0BBdLPtUMINupo8ga84bqDyZ4CRyKMxxnLfUPKvLKebvFHE3yh4hxJQq6wiK r1qcl/rxdige27ljdPk6w== X-UI-Out-Filterresults: notjunk:1; V01:K0:nNV+GAtglo0=:rQIpAsKuSTm9GnbNGcuPWC Dm53STpxJFrvuqf9uAHplj4L4zmbglW9sobC+mvJCIVxaiusAshnAJuzxbGzE7jBg93gsjTxe gfJWS+9ukfxi5KilVgdouPvP48tEwqvM8t2sGDeitOxNSi6FYN+hqzC6HFYmUQy60TgIwQheA CxuKspHOnBg6tqlY2yaotLRvHG9mWY6CfBcII2fdHWxaRKxk6CWbj58hefLPjJYIGUWtKURUD auOc978FQ5Q9+rZ6NMi4isiafBH+tABge6tUqKcZ6JkIbt4mBWBxKcd5YYHh3gO9AQJBZU2uu RkXVuXSjbieQtlU3vu9vIRAtlGKqdfZ9Z/Vm70MWc5GfNlJALbczgOtnPjS/IBAaqqiM8s6ll hzmrS7J57nmfkpObD4ADUrve0DgRqUP4V0k8ybmoxcUzvzrYoTjZQH71M0I/svLNUm3Ouhs6O 2BYjmr2VlcdiVaQOeUeFYQ9KiQ4pqT/Xm6xyUyy/ln7wih1EVjlb9zv5iCI+eU8N0NsnkQegl xtjfjijTmxupby0BFd9fQfnsHJn+nkVI7LERy4Ot0Nu25GlDBQLwE6xR0sIbfRUKDa3RMaGfR xonq9y/Q33SliykQ0hfPo5hsO454o8Jc6vaiLd7jkPPW5joy+KqV1gsHOeE9uLw5VT7CR5pIB OFJP5EAkzxR4B2K/y+SVmAFscChWXKIs005nChCcoUBh6jVTLJdA9IGObgp5KXx4+a53dltOE 9vXHBV8K0uNh0gXQ+xfXo9z79YTsrmSUJCqA4vR+tFZTXPJw2dEUgFrJL7+V4JGC80OHCC6Rc wCbJdW+9VIwYt6alJTOAKNLBrTZXcLQ0o96sUdrOguvLE7k2rI= Cc: kernel-janitors@vger.kernel.org, LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 27 Nov 2017 21:37:52 +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/video/fbdev/aty/radeon_backlight.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/aty/radeon_backlight.c b/drivers/video/fbdev/aty/radeon_backlight.c index 78c36c8d5e57..c5e0e3557cc2 100644 --- a/drivers/video/fbdev/aty/radeon_backlight.c +++ b/drivers/video/fbdev/aty/radeon_backlight.c @@ -193,7 +193,6 @@ void radeonfb_bl_init(struct radeonfb_info *rinfo) error: kfree(pdata); - return; } void radeonfb_bl_exit(struct radeonfb_info *rinfo)