Re: [PATCH] crypto: fix simple_return.cocci warnings

2015-08-13 Thread Herbert Xu
On Wed, Aug 12, 2015 at 12:50:17PM +0800, kbuild test robot wrote: 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.

[PATCH] crypto: fix simple_return.cocci warnings

2015-08-11 Thread kbuild test robot
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