[0/2] remove unnecessary null checks in OpenSSL usage

Message ID 20231102230307.6138-1-stephen@networkplumber.org (mailing list archive)
Headers
Series remove unnecessary null checks in OpenSSL usage |

Message

Stephen Hemminger Nov. 2, 2023, 11:02 p.m. UTC
  OpenSSL follows null free conventions

Stephen Hemminger (2):
  nullfree: add matches for null free cases from OpenSSL
  crypto/openssl: remove unnecessary NULL checks before free

 devtools/cocci/nullfree.cocci                |  9 +++++
 drivers/crypto/openssl/rte_openssl_pmd.c     | 36 +++++++-------------
 drivers/crypto/openssl/rte_openssl_pmd_ops.c |  3 +-
 3 files changed, 22 insertions(+), 26 deletions(-)
  

Comments

Akhil Goyal Nov. 9, 2023, 8:12 p.m. UTC | #1
> OpenSSL follows null free conventions
> 
> Stephen Hemminger (2):
>   nullfree: add matches for null free cases from OpenSSL
>   crypto/openssl: remove unnecessary NULL checks before free
> 
>  devtools/cocci/nullfree.cocci                |  9 +++++
>  drivers/crypto/openssl/rte_openssl_pmd.c     | 36 +++++++-------------
>  drivers/crypto/openssl/rte_openssl_pmd_ops.c |  3 +-
>  3 files changed, 22 insertions(+), 26 deletions(-)
Series Applied to dpdk-next-crypto
Thanks.