diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-11-06 23:02:27 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-11-06 23:07:02 +0100 |
commit | 5bd09fb0336aa4020b85f13e16a4d21e3f5f70c3 (patch) | |
tree | 1b605b5bb6b85d4621f0dcbd3d4909eb84ab62b1 /arch/arm/kernel/smp_twd.c | |
parent | a7e816b857947f0a4d59c0d9c69810977479ac50 (diff) | |
download | op-kernel-dev-5bd09fb0336aa4020b85f13e16a4d21e3f5f70c3.zip op-kernel-dev-5bd09fb0336aa4020b85f13e16a4d21e3f5f70c3.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c index 6ec73f9..999aa48 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) { |