From: SF Markus Elfring <elfring@users.sourceforge.net>
To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Aaro Koskinen <aaro.koskinen@iki.fi>,
Russell King <linux@armlinux.org.uk>,
Tony Lindgren <tony@atomide.com>
Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 3/5] ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps()
Date: Thu, 1 Jun 2017 22:50:06 +0200 [thread overview]
Message-ID: <3790e998-2d64-aef8-28ab-1bdad153738a@users.sourceforge.net> (raw)
In-Reply-To: <85e2ec7f-f650-28a2-6cc5-0b4b52e44183@users.sourceforge.net>
From: Markus Elfring <elfring@users.sourceforge.net>
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 <elfring@users.sourceforge.net>
---
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)
--
2.13.0
next prev parent reply other threads:[~2017-06-01 20:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-01 20:46 [PATCH 0/5] ARM-OMAP1: Adjustments for three function implementations SF Markus Elfring
2017-06-01 20:48 ` [PATCH 1/5] ARM: OMAP1: DMA: Improve a size determination in omap1_system_dma_init() SF Markus Elfring
2017-06-01 20:49 ` [PATCH 2/5] ARM: OMAP1: DMA: Delete an error message for a failed memory allocation " SF Markus Elfring
2017-06-01 20:50 ` SF Markus Elfring [this message]
2017-06-01 20:51 ` [PATCH 4/5] ARM: OMAP1: Delete an error message for a failed memory allocation in omap1_dm_timer_init() SF Markus Elfring
2017-06-01 20:52 ` [PATCH 5/5] ARM: OMAP1: Fix a typo in a comment line SF Markus Elfring
2017-06-07 7:02 ` [PATCH 0/5] ARM-OMAP1: Adjustments for three function implementations Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3790e998-2d64-aef8-28ab-1bdad153738a@users.sourceforge.net \
--to=elfring@users.sourceforge.net \
--cc=aaro.koskinen@iki.fi \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).