crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
authorKai Ye <yekai13@huawei.com>
Sat, 22 Jan 2022 09:30:42 +0000 (17:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 31 Jan 2022 00:21:45 +0000 (11:21 +1100)
commit05b3bade290d6c940701f97f3233c07cfe27205d
treec19f74bf5b8d0dc38a0f2467afbd9f637fccc5f6
parent498382593c7c90eb81111d315eeecba9508ddf58
crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos

The kernel test rebot report this warning: Uninitialized variable: ret.
The code flow may return value of ret directly. This value is an
uninitialized variable, here is fix it.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c