aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp_twd.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/smp_twd.c')
-rw-r--r--arch/arm/kernel/smp_twd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
index ff07879ad95d..49f335d301ba 100644
--- a/arch/arm/kernel/smp_twd.c
+++ b/arch/arm/kernel/smp_twd.c
@@ -390,10 +390,8 @@ void __init twd_local_timer_of_register(void)
390 int err; 390 int err;
391 391
392 np = of_find_matching_node(NULL, twd_of_match); 392 np = of_find_matching_node(NULL, twd_of_match);
393 if (!np) { 393 if (!np)
394 err = -ENODEV; 394 return;
395 goto out;
396 }
397 395
398 twd_ppi = irq_of_parse_and_map(np, 0); 396 twd_ppi = irq_of_parse_and_map(np, 0);
399 if (!twd_ppi) { 397 if (!twd_ppi) {