From patchwork Thu May 28 15:00:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick X-Patchwork-Id: 6499331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 20724C0020 for ; Thu, 28 May 2015 15:03:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E570203F4 for ; Thu, 28 May 2015 15:03:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7E7AA203B6 for ; Thu, 28 May 2015 15:03:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YxzIW-0007g6-FM; Thu, 28 May 2015 15:00:40 +0000 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YxzIT-00079v-D9 for linux-arm-kernel@lists.infradead.org; Thu, 28 May 2015 15:00:37 +0000 Received: by igbhj9 with SMTP id hj9so116646317igb.1 for ; Thu, 28 May 2015 08:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=77jiPePKbdx5yHfgbYjB6cE/T4/9FwL6Vzp0XXQoNXk=; b=fjH5y9LDUHAZ31rIng6Ipgu89dMROhHkblXR6Ph+JwjK+9sLcf3Rdwpkvs0PVT4Dli mpBqxqGA4/FMmWVRNRHseVI+gYe8PVebASXd+KZjN7NY4T5sixwPmKxKnDpBJBo32YrH ypa/XLD00lkY5lCRalzyI6SPhLgNmo8u23/uTn476gQqixBVAYWxutd3bbGFuXRRRTYS +IQQ0BZQER1nx8xZmJ3PUHlBaljXo8zVcm4lB6bhezO1VruEuo8g4GfZh/8PjHB+9IhK IaxlzScdgu2iRjzikFct8Yn6qRAGVhF+d2I1AJdPhqOpcZmx2eOiGTMDM9WfdthItJrj 6COA== X-Received: by 10.42.176.8 with SMTP id bc8mr9451328icb.22.1432825211576; Thu, 28 May 2015 08:00:11 -0700 (PDT) Received: from nick-System-Product-Name.hitronhub.home (CPEbc4dfb2691f3-CMbc4dfb2691f0.cpe.net.cable.rogers.com. [99.231.110.121]) by mx.google.com with ESMTPSA id m193sm1921455iom.19.2015.05.28.08.00.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 May 2015 08:00:09 -0700 (PDT) From: Nicholas Krause To: tony@atomide.com Subject: [PATCH RESEND] mach-omap2:Remove unnessary return statement from the void function, omap2_show_dma_caps Date: Thu, 28 May 2015 11:00:05 -0400 Message-Id: <1432825205-4663-1-git-send-email-xerofoify@gmail.com> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150528_080037_537703_B9EAD9DB X-CRM114-Status: UNSURE ( 9.02 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-omap@vger.kernel.org, linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This removes the no longer required return statement at the end of the void function, omap2_show_dma_cap due to no need for a return statement due to this function always running successfully. Signed-off-by: Nicholas Krause --- arch/arm/mach-omap2/dma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-omap2/dma.c b/arch/arm/mach-omap2/dma.c index e1a56d8..1ed4be1 100644 --- a/arch/arm/mach-omap2/dma.c +++ b/arch/arm/mach-omap2/dma.c @@ -117,7 +117,6 @@ static void omap2_show_dma_caps(void) u8 revision = dma_read(REVISION, 0) & 0xff; printk(KERN_INFO "OMAP DMA hardware revision %d.%d\n", revision >> 4, revision & 0xf); - return; } static unsigned configure_dma_errata(void)