ARM: Remove redundant ';' from avic_irq_set_priority()
authorJesper Juhl <jj@chaosbits.net>
Sun, 26 Feb 2012 22:09:40 +0000 (23:09 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 27 Feb 2012 09:15:49 +0000 (10:15 +0100)
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>
arch/arm/plat-mxc/avic.c

index 55f15699a3835cba42c5509fc62b031db4e033d7..689f81f9593bf436adbca616cc0904bfe8cb59b1 100644 (file)
@@ -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;