projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29781fa
)
ARM: Remove redundant ';' from avic_irq_set_priority()
author
Jesper Juhl
<jj@chaosbits.net>
Sun, 26 Feb 2012 22:09:40 +0000
(23:09 +0100)
committer
Sascha 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-mxc/avic.c
b/arch/arm/plat-mxc/avic.c
index 55f15699a3835cba42c5509fc62b031db4e033d7..689f81f9593bf436adbca616cc0904bfe8cb59b1 100644
(file)
--- 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;