]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
crypto: qat - remove unused and redundant pointer vf_info
authorColin Ian King <colin.king@canonical.com>
Thu, 12 Oct 2017 17:04:56 +0000 (18:04 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Nov 2017 13:53:31 +0000 (21:53 +0800)
commit9c290c507ca22ccf9ca2ab3fcb04e4e0e1422190
tree1ac1e98ff392e5037d38cd9d499f0799b3c3bd5d
parent745952aeb599634025b568e1695fc6793b771682
crypto: qat - remove unused and redundant pointer vf_info

The pointer vf_info is being assigned but never read, it is redundant
and therefore can be removed.

Cleans up clang warning: Value stored to 'vf_info' is never read

Fixes: ed8ccaef52fa ("crypto: qat - Add support for SRIOV")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_dev_mgr.c