Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bd09fb0 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

ARM: smp_twd: fix build warning



0336517b "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: default avatarArnd Bergmann <arnd@arndb.de>
parent a7e816b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {