1
0
Fork 0
alistair23-linux/net/tls
Colin Ian King 95ad7544ad net/tls: remove redundant second null check on sgout
A duplicated null check on sgout is redundant as it is known to be
already true because of the identical earlier check. Remove it.
Detected by cppcheck:

net/tls/tls_sw.c:696: (warning) Identical inner 'if' condition is always
true.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-04-24 16:02:10 -04:00
..
Kconfig tls: RX path for ktls 2018-03-23 12:25:54 -04:00
Makefile tls: kernel TLS support 2017-06-15 12:12:40 -04:00
tls_main.c tls: support for Inline tls record 2018-03-31 23:37:32 -04:00
tls_sw.c net/tls: remove redundant second null check on sgout 2018-04-24 16:02:10 -04:00