crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit
05b3bade290d6c940701f97f3233c07cfe27205d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit
ca97dfbda5105f9b6220ff286c07367633ff2b55)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>