From patchwork Thu Jun 1 20:50:06 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: 9761119 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 0C9B960375 for ; Thu, 1 Jun 2017 20:51:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F04782853A for ; Thu, 1 Jun 2017 20:51:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E50242853F; Thu, 1 Jun 2017 20:51:13 +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 6ED0228541 for ; Thu, 1 Jun 2017 20:51:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751126AbdFAUun (ORCPT ); Thu, 1 Jun 2017 16:50:43 -0400 Received: from mout.web.de ([212.227.15.14]:61760 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbdFAUum (ORCPT ); Thu, 1 Jun 2017 16:50:42 -0400 Received: from [192.168.1.2] ([77.181.221.49]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lkm1c-1dqxnA2tFM-00aXgt; Thu, 01 Jun 2017 22:50:08 +0200 Subject: [PATCH 3/5] ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps() From: SF Markus Elfring To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aaro Koskinen , Russell King , Tony Lindgren Cc: LKML , kernel-janitors@vger.kernel.org References: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Message-ID: <3790e998-2d64-aef8-28ab-1bdad153738a@users.sourceforge.net> Date: Thu, 1 Jun 2017 22:50:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:ju/QTyAhKuMaAQStOeYe5qorTOZ9T5pPmDXCV96m5jxgpCvV5JX VBQijSqXVLBAhJue4YufQrjr4Wuw1OKfN20gN6TzooILmIfJY/ATOjyRR4xcXoyG/IRuRWD Oas4V/BUcgfYGq5H8qE9SPWq5RDhE6goiV4jyyFSn7Hq2tvvJHWokVFJO1NnZpZG0pP/MyV c2rHnD7IbdnG2dACA0B/Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:4GIIW9JUDq0=:FjrL6AUDkekrlOaY7YxowY s26CqY2xkTrsdW9D2kPw212nYWZuvw4q2WMwYt6NCVO9MhqScD11DCOxTgPWTGtdZhpGcvD9d rBrQBBIF9JPv2wY20oGSIVpobr1NZ5d6oa+GbPVQGVIuvg/9v49Nho5ZyW/L51faDv/GW0Ltk 7f0IejWUQvzfEJFme8FkSI/RjZ5Pc8j76dtwpAYG7+xa15Fevbkk+a2BHzdS9rQkihBVTjoHr FKOziG3sTA5Cz1kb9DRcs3ZqhFUWrIz3XV5nIfg2XYzGabZ/RZeVCiQuBr8zbIHJW63QXT1EI NVoymYUTS/hC4Cy2FBS+RMM7V0ipJzvqXK3yO+GJsoq/4kEHqtkOlQ4B0eLbYLCHeZjcXHZ0y 4s2NYFCt7rxBmUjT3r/xpW7yVCl6g70pBnEBytHM5/qWKoykswXx7rUhOy6rmv4jBVxWlua1x 73Go8WA/4iq9yvY3XVt90/Db/9RnL9kEx5kSsQOM0KTwrrUq80SmaC8tsVGCqEsHkcAFPXjkG hwGeKd3NdvIRNiROy3HFyiCgq8Sx1PiMxGS1VXn1QLWhLfKX0Brz6eEu/f+RmZ0tjMf2iZzLo 7LQw4XgCVemarkexlPZ+uwFuqGmzDlQzpYXZeeyOMpswm147PcjJYTsuxK6DvT8sN9jI0h0YF pt520JlitLbvKkESEN6EdEBwcsc8djz3Kb4HzvVcsx64vQ/KdLKK8TYO8HGTcxE+GqK4BJIRW fHocV0f9vAyH7WlDzFDCyiiBO4MkLEg2vvc80UrjD24mUl0jdGg1/SfGxeRMix9t6FBMDWRsK JZU0G6K Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Thu, 1 Jun 2017 22:00:21 +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-omap1/dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index c545b4e01d53..52d7eda1adec 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c @@ -240,7 +240,6 @@ static void omap1_show_dma_caps(void) w |= 1 << 3; dma_write(w, GSCR, 0); } - return; } static unsigned configure_dma_errata(void)