]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:39:41 +0000 (14:39 +0200)
commit9fccf5bdba8093b5e1702bc4aa796cb611b4c65d
treeb05463f69a0ad8ea76936f83fa948d4011b2f02c
parent3bfbca4089765f93fd47522882599b53d99e55ed
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>
drivers/crypto/hisilicon/qm.c