Re: [PATCH linux-next] ocxl: Remove the unneeded result variable

2022-10-04 Thread Michael Ellerman
On Tue, 6 Sep 2022 07:20:06 +, cgel@gmail.com wrote: > From: ye xingchen > > Return the value opal_npu_spa_clear_cache() directly instead of storing > it in another redundant variable. > > Applied to powerpc/next. [1/1] ocxl: Remove the unneeded result variable https://git.kerne

Re: [PATCH linux-next] ocxl: Remove the unneeded result variable

2022-09-07 Thread Andrew Donnellan
On Tue, 2022-09-06 at 07:20 +, cgel@gmail.com wrote: > From: ye xingchen > > Return the value opal_npu_spa_clear_cache() directly instead of > storing > it in another redundant variable. > > Reported-by: Zeal Robot > Signed-off-by: ye xingchen Acked-by: Andrew Donnellan > --- >  arc

[PATCH linux-next] ocxl: Remove the unneeded result variable

2022-09-06 Thread cgel . zte
From: ye xingchen Return the value opal_npu_spa_clear_cache() directly instead of storing it in another redundant variable. Reported-by: Zeal Robot Signed-off-by: ye xingchen --- arch/powerpc/platforms/powernv/ocxl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/