drivers/virt/fsl_hypervisor: remove unneeded `ret` variable in `fsl_hv_open()`
authorGuo Zhengkui <guozhengkui@vivo.com>
Tue, 26 Apr 2022 08:33:13 +0000 (16:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2022 10:50:31 +0000 (12:50 +0200)
commit4647769bab901562b1d3aa6ceb640a4886b0f277
tree925cc5444c7446bcb25a7e36b58105945540c209
parent1f7142915d304804a9bd952245fce92786b1b62f
drivers/virt/fsl_hypervisor: remove unneeded `ret` variable in `fsl_hv_open()`

Fix the following coccicheck warning:

drivers/virt/fsl_hypervisor.c:662:5-8: Unneeded variable: "ret".
Return "0" on line 679.

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Link: https://lore.kernel.org/r/20220426083315.9551-1-guozhengkui@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/virt/fsl_hypervisor.c