From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH][trivial] ARM: Remove redundant ';' from avic_irq_set_priority()
Date: Mon, 27 Feb 2012 10:24:21 +0100 [thread overview]
Message-ID: <20120227092421.GX3852@pengutronix.de> (raw)
In-Reply-To: <alpine.LNX.2.00.1202262307210.6089@swampdragon.chaosbits.net>
On Sun, Feb 26, 2012 at 11:09:40PM +0100, Jesper Juhl wrote:
> One semi-colon at the end of the return statement is sufficient.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Applied
Sascha
> ---
> arch/arm/plat-mxc/avic.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c
> index 55f1569..689f81f 100644
> --- a/arch/arm/plat-mxc/avic.c
> +++ b/arch/arm/plat-mxc/avic.c
> @@ -60,7 +60,7 @@ static int avic_irq_set_priority(unsigned char irq, unsigned char prio)
> unsigned int mask = 0x0F << irq % 8 * 4;
>
> if (irq >= AVIC_NUM_IRQS)
> - return -EINVAL;;
> + return -EINVAL;
>
> temp = __raw_readl(avic_base + AVIC_NIPRIORITY(irq / 8));
> temp &= ~mask;
> --
> 1.7.9.2
>
>
> --
> Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
> Don't top-post http://www.catb.org/jargon/html/T/top-post.html
> Plain text mails only, please.
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2012-02-27 9:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-26 22:09 [PATCH][trivial] ARM: Remove redundant ';' from avic_irq_set_priority() Jesper Juhl
2012-02-27 9:24 ` Sascha Hauer [this message]
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=20120227092421.GX3852@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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).