Messages in this thread | | | Date | Tue, 24 Apr 2018 16:02:25 -0400 (EDT) | Subject | Re: [PATCH] net/tls: remove redundant second null check on sgout | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Tue, 24 Apr 2018 13:36:58 +0100
> From: Colin Ian King <colin.king@canonical.com> > > 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>
Applied to net-next, thank you.
| |