Skip to content

Commit

Permalink
ARM: Remove redundant ';' from avic_irq_set_priority()
Browse files Browse the repository at this point in the history
One semi-colon at the end of the return statement is sufficient.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Jesper Juhl authored and Sascha Hauer committed Feb 27, 2012
1 parent 29781fa commit a5a928c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-mxc/avic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a5a928c

Please sign in to comment.