Re: [PATCH v2 7/8] powerpc/powernv: Remove pnv_eeh_cap_start()

2015-10-07 Thread Andrew Donnellan
On 08/10/15 14:58, Gavin Shan wrote: This moves the logic of pnv_eeh_cap_start() to pnv_eeh_find_cap() as the function is only called by pnv_eeh_find_cap(). The logic of both functions are pretty simple. No need to have separate functions. Signed-off-by: Gavin Shan Reviewed-by: Andrew Donnell

[PATCH v2 7/8] powerpc/powernv: Remove pnv_eeh_cap_start()

2015-10-07 Thread Gavin Shan
This moves the logic of pnv_eeh_cap_start() to pnv_eeh_find_cap() as the function is only called by pnv_eeh_find_cap(). The logic of both functions are pretty simple. No need to have separate functions. Signed-off-by: Gavin Shan --- arch/powerpc/platforms/powernv/eeh-powernv.c | 19 +