Re: [PATCH] crypto: chtls - remove the redundant check in chtls_recvmsg()

From: Herbert Xu
Date: Fri Oct 18 2019 - 04:05:27 EST


On Fri, Oct 11, 2019 at 08:44:53PM +0800, Yunfeng Ye wrote:
> A warning message reported by a static analysis tool:
> "
> Either the condition 'if(skb)' is redundant or there is possible null
> pointer dereference: skb.
> "
>
> Remove the unused redundant check.
>
> Signed-off-by: Yunfeng Ye <yeyunfeng@xxxxxxxxxx>
> ---
> drivers/crypto/chelsio/chtls/chtls_io.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt