summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-04-04 17:46:03 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-07 04:18:14 +0300
commitd1edc085559744fbda7a55e97eeae8bd6135a11b (patch)
tree64bd82f21b8a038ee6a89f2ac89174d307123f87 /.gitattributes
parentcdf369cd5808fccd1d10cbf68f39429709410f31 (diff)
downloadlinux-d1edc085559744fbda7a55e97eeae8bd6135a11b.tar.xz
tcp: remove redundant check on tskb
The non-null check on tskb is always false because it is in an else path of a check on tskb and hence tskb is null in this code block. This is check is therefore redundant and can be removed as well as the label coalesc. if (tsbk) { ... } else { ... if (unlikely(!skb)) { if (tskb) /* can never be true, redundant code */ goto coalesc; return; } } Addresses-Coverity: ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions