]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chtls - remove the redundant check in chtls_recvmsg()
authorYunfeng Ye <yeyunfeng@huawei.com>
Fri, 11 Oct 2019 12:44:53 +0000 (20:44 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 23 Oct 2019 08:46:57 +0000 (19:46 +1100)
commit45c0dbd461c97f2b617aee93fa5c4e17ad345550
tree68668bad304be0bdfc07dc27df6a8ccd97c6671c
parentfba4739b94cd9c726968161383ab0e8d94bf8a46
crypto: chtls - remove the redundant check in chtls_recvmsg()

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@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chtls/chtls_io.c