]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/vas: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 25 Aug 2022 07:26:57 +0000 (07:26 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:14 +0000 (19:22 +1000)
commit52b4fd55b1b77ae0fe4ac182a1a212134ff51aaf
tree12533d0f76cf69a124880b838c70a6392813016a
parent3bdb2939666d208e6e35225b17d87ce9124e67a3
powerpc/pseries/vas: Remove the unneeded result variable

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

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220825072657.229168-1-ye.xingchen@zte.com.cn
arch/powerpc/platforms/pseries/vas.c