]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: qat - Drop redundant local variables
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 27 Feb 2026 11:53:56 +0000 (12:53 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 7 Mar 2026 05:22:53 +0000 (14:22 +0900)
commit76755a576a7676ea75dcf2c1b06907876dea6622
tree19f8c5b6cb424ea005fa2c67e5494b38c9cd7570
parent8456e55162aa38d65d3dcccf9a0eb3e33c01d1f0
crypto: qat - Drop redundant local variables

Return sysfs_emit() directly and drop 'ret' in cap_rem_show().

In cap_rem_store(), use 'ret' when calling set_param_u() instead of
assigning it to 'val' first, and remove 'val'.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c