Tag: 8669f34e122bad56e4d3ecde5f4720c40261bf4c

crypto: qat – fix simple_return.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> drivers/crypto/qat/qat_common/adf_sriov.c:258:1-4: WARNING: end returns can be simpified and declaration on line 212 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Tadeusz Struk Signed-off-by: Fengguang Wu Signed-off-by: Herbert Xu — drivers/crypto/qat/qat_common/adf_sriov.c | 8 ++—— 1 file changed, 2 insertions(+), 6 deletions(-) …

Continue reading