Skip to content
Commit 5e495265 authored by ye xingchen's avatar ye xingchen Committed by Michael Ellerman
Browse files

ocxl: Remove the unneeded result variable



Return the value opal_npu_spa_clear_cache() directly instead of storing
it in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Acked-by: default avatarAndrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220906072006.337099-1-ye.xingchen@zte.com.cn
parent 91986d7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment