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: 10078137 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 33489602BC for ; Mon, 27 Nov 2017 21:26:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 256BC28F8C for ; Mon, 27 Nov 2017 21:26:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A01E28FF8; Mon, 27 Nov 2017 21:26:23 +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 B2F6328F8C for ; Mon, 27 Nov 2017 21:26:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752074AbdK0V0W (ORCPT ); Mon, 27 Nov 2017 16:26:22 -0500 Received: from mout.web.de ([212.227.15.4]:59105 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752051AbdK0V0V (ORCPT ); Mon, 27 Nov 2017 16:26:21 -0500 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 Cc: LKML , kernel-janitors@vger.kernel.org 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= Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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)