]> asedeno.scripts.mit.edu Git - linux.git/commit
net/tls: Removed redundant checks for non-NULL
authorVakul Garg <vakul.garg@nxp.com>
Tue, 24 Jul 2018 11:24:27 +0000 (16:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2018 21:01:55 +0000 (14:01 -0700)
commit201876b33c09edcb6c2914f0ced798437a102648
tree9787699d93660c7b25bc3656c6b6c85584bbc47b
parent990e35ecba1cb8ebee4ad4a028735e24f4615417
net/tls: Removed redundant checks for non-NULL

Removed checks against non-NULL before calling kfree_skb() and
crypto_free_aead(). These functions are safe to be called with NULL
as an argument.

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Acked-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c