Re: [PATCH] powerpc/tm: Remove struct thread_info param from tm_reclaim_thread()

2018-02-01 Thread Cyril Bur
On Thu, 2018-02-01 at 15:46 +1100, Michael Ellerman wrote: > Cyril Bur writes: > > > tm_reclaim_thread() doesn't use the parameter anymore, both callers have > > to bother getting it as they have no need for a struct thread_info > > either. > > In future please tell me why the parameter is unuse

Re: [PATCH] powerpc/tm: Remove struct thread_info param from tm_reclaim_thread()

2018-01-31 Thread Michael Ellerman
Cyril Bur writes: > tm_reclaim_thread() doesn't use the parameter anymore, both callers have > to bother getting it as they have no need for a struct thread_info > either. In future please tell me why the parameter is unused and when it became unused. In this case it was previously used but the

[PATCH] powerpc/tm: Remove struct thread_info param from tm_reclaim_thread()

2018-01-31 Thread Cyril Bur
tm_reclaim_thread() doesn't use the parameter anymore, both callers have to bother getting it as they have no need for a struct thread_info either. Just remove it and adjust the callers. Signed-off-by: Cyril Bur --- arch/powerpc/kernel/process.c | 7 +++ 1 file changed, 3 insertions(+), 4 d