diff options
author | John Stultz <john.stultz@linaro.org> | 2014-03-31 11:19:52 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-04-04 17:07:14 -0700 |
commit | 7e51fc62078a13445b35d5389f29c2f615eea49d (patch) | |
tree | 97bdc453644396f6df02301b633adfd5d70f0535 /net/ipv4 | |
parent | 609e9eb63469d9c46d4bb680756781bfb6281429 (diff) |
net: Drop unnecssary pinet6 check
Since the line below was changed to access the sk_v6_rcv_saddr
directly, we don't need to check the pinet6 value for null.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 32c714a533c5..ad80ad2e946b 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -3316,8 +3316,6 @@ restart: #if defined(CONFIG_IPV6) if (family == AF_INET6) { struct in6_addr *s6; - if (!inet->pinet6) - continue; s6 = &sk->sk_v6_rcv_saddr; if (ipv6_addr_type(s6) == IPV6_ADDR_MAPPED) |