media: venus: hfi: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 30 Aug 2022 08:37:53 +0000 (10:37 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 09:21:44 +0000 (11:21 +0200)
commit265f2fc52f5873ae3fa653ce1f2dbc47afef6344
treeedc040c0a03f219b888837e81c89b3d20b7fb5fe
parentf5218c71098dcf51772b6509184c02ce1cef37b8
media: venus: hfi: Remove the unneeded result variable

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

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/qcom/venus/hfi.c