Arnd Bergmann 069013a9e2 nios2: fix timer initcall return value
When called more than twice, the nios2_time_init() function return an
uninitialized value, as detected by gcc -Wmaybe-uninitialized

  arch/nios2/kernel/time.c: warning: 'ret' may be used uninitialized in this function

This makes it return '0' here, matching the comment above the function.

Acked-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-11-11 08:45:08 -08:00
..
2016-10-06 18:19:16 +08:00
2015-02-10 23:21:08 +08:00
2015-04-20 11:11:14 +08:00
2014-12-08 12:55:50 +08:00
2014-12-08 12:55:55 +08:00
2015-02-16 19:26:43 +08:00
2015-02-16 19:26:43 +08:00
2014-12-08 12:56:06 +08:00
2014-12-08 12:56:04 +08:00
2015-11-09 10:33:29 +08:00
2014-12-08 12:55:58 +08:00
2014-12-08 12:55:58 +08:00
2016-11-11 08:45:08 -08:00
2015-04-20 11:11:14 +08:00