summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp_twd.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-11-06 23:02:27 +0100
committerArnd Bergmann <arnd@arndb.de>2012-11-06 23:07:02 +0100
commit5bd09fb0336aa4020b85f13e16a4d21e3f5f70c3 (patch)
tree1b605b5bb6b85d4621f0dcbd3d4909eb84ab62b1 /arch/arm/kernel/smp_twd.c
parenta7e816b857947f0a4d59c0d9c69810977479ac50 (diff)
ARM: smp_twd: fix build warning
0336517b38c "ARM: smp_twd: don't warn on no DT node" introduced a silly build warning by returning an error from a void function. This keeps the intention of that patch but fixes the warning by removing the error code Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/kernel/smp_twd.c')
-rw-r--r--arch/arm/kernel/smp_twd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
index 6ec73f91a1d..999aa48657d 100644
--- a/arch/arm/kernel/smp_twd.c
+++ b/arch/arm/kernel/smp_twd.c
@@ -367,7 +367,7 @@ void __init twd_local_timer_of_register(void)
np = of_find_matching_node(NULL, twd_of_match);
if (!np)
- return -ENODEV;
+ return;
twd_ppi = irq_of_parse_and_map(np, 0);
if (!twd_ppi) {