diff options
author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2022-03-04 18:03:54 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-03-09 15:12:32 +1200 |
commit | c700216c70fca38ae7ceff07ed63d79ae25379c5 (patch) | |
tree | 85cc6ca7cd90efb70be7b122980a84e69e05bd59 /fs/f2fs | |
parent | 8893d27ffcaf6ec6267038a177cb87bcde4dd3de (diff) | |
download | linux-stable-c700216c70fca38ae7ceff07ed63d79ae25379c5.tar.gz linux-stable-c700216c70fca38ae7ceff07ed63d79ae25379c5.tar.bz2 linux-stable-c700216c70fca38ae7ceff07ed63d79ae25379c5.zip |
crypto: qat - remove unneeded assignment
The function adf_gen4_get_vf2pf_sources() computes a mask which is
stored in a variable which is returned and not used.
Remove superfluous assignment of variable.
This is to fix the following warning when compiling the QAT driver
with clang scan-build:
drivers/crypto/qat/qat_common/adf_gen4_pfvf.c:46:9: warning: Although the value stored to 'sou' is used in the enclosing expression, the value is never actually read from 'sou' [deadcode.DeadStores]
return sou &= ~mask;
^ ~~~~~
Fixes: 5901b4af6e07 ("crypto: qat - fix access to PFVF interrupt registers for GEN4")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions