Michael Ellerman 529d2bd56a powerpc/64: Remove unused generic_secondary_thread_init()
The last caller was removed in 2014 in commit fb5a515704d7 ("powerpc:
Remove platforms/wsp and associated pieces").

As Jordan noticed even though there are no callers, the code above in
fsl_secondary_thread_init() falls through into
generic_secondary_thread_init(). So we can remove the _GLOBAL but not
the body of the function.

However because fsl_secondary_thread_init() is inside #ifdef
CONFIG_PPC_BOOK3E, we can never reach the body of
generic_secondary_thread_init() unless CONFIG_PPC_BOOK3E is enabled,
so we can wrap the whole thing in a single #ifdef.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015704.1976364-1-mpe@ellerman.id.au
2020-09-08 22:24:17 +10:00
..
2020-08-07 18:48:15 -07:00
2020-08-07 10:33:50 -07:00
2020-09-02 11:00:19 +10:00
2020-03-10 15:16:42 +11:00
2019-08-30 09:52:57 +10:00
2020-08-09 14:10:26 -07:00
2020-07-27 00:01:30 +10:00
2020-06-05 12:39:30 -07:00
2020-05-26 23:36:57 +10:00
2020-07-18 22:43:55 +10:00
2020-06-05 12:39:30 -07:00
2020-04-05 11:12:59 -07:00
2020-05-26 23:36:51 +10:00
2020-07-16 13:12:47 +10:00
2020-06-05 12:39:30 -07:00