commit | 95ad7544ad3f6cf585e5b8587e7d520fa3a43ad5 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Apr 24 13:36:58 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 24 16:02:10 2018 -0400 |
tree | 1b20d4226029e9f65c710dd50fa641f6f323c89d | |
parent | 080aaddae5b378ebb0f06d297bf05cf4ec5b47ac [diff] |
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>