From patchwork Thu May 21 21:27:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick X-Patchwork-Id: 6459931 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 1E677C0020 for ; Thu, 21 May 2015 21:30:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4DA722053E for ; Thu, 21 May 2015 21:30:06 +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 8C592204EC for ; Thu, 21 May 2015 21:30:05 +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 1YvY0Y-0001WW-M3; Thu, 21 May 2015 21:28:02 +0000 Received: from mail-ig0-x229.google.com ([2607:f8b0:4001:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YvY0V-0001Tf-Dy for linux-arm-kernel@lists.infradead.org; Thu, 21 May 2015 21:27:59 +0000 Received: by igbhj9 with SMTP id hj9so21599081igb.1 for ; Thu, 21 May 2015 14:27:37 -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=UQzm199QsGVxMroUmK4Tj6pXfAcXKOL1LlKOQ6nxiktJFZ0Ml9aKjxldaOv4nTzk/S qk37QPkVqBjau/UNvrPPLMLe0cRU5FMV7ULVTyeZuC7+572Q0WPzMO2tsEi0ai+eNy5W lnO8QRr2njlB+A5jHoBOew8tWviPCc115s+TyWenPr86PIGqlmaIixoXwX9qI2zczgCM L0cLfNzxOGJRho8Q+nVAvIOQu5Jw8kC1VSvCLeGHze+que2UHm1E/nkFWixPQbrDj8N1 7KzXO0dIXFtenmqQn4yjVuNVqumfXtVlkqWlrNq5UeoK0PDFTB1yQAVFdTcmLhilmpSP 6+Qw== X-Received: by 10.107.136.38 with SMTP id k38mr4162176iod.56.1432243657225; Thu, 21 May 2015 14:27:37 -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 e69sm73146ioe.11.2015.05.21.14.27.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 May 2015 14:27:36 -0700 (PDT) From: Nicholas Krause To: tony@atomide.com Subject: [PATCH] mach-omap2:Remove unnessary return statement from the void function, omap2_show_dma_caps Date: Thu, 21 May 2015 17:27:31 -0400 Message-Id: <1432243651-23061-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-20150521_142759_529569_06074B8B X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) 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=unavailable 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)