diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2017-06-15 14:28:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-16 12:45:14 -0400 |
commit | 41500c3e2a19ffcf40a7158fce1774de08e26ba2 (patch) | |
tree | 723682c0d034d68674f943d70e83632a28c71ad7 /net/rds/tcp_connect.c | |
parent | 5f886eefbb2d4b207c43b96bbe951545be4f462d (diff) |
rds: tcp: remove cp_outgoing
After commit 1a0e100fb2c9 ("RDS: TCP: Force every connection to be
initiated by numerically smaller IP address") we no longer need
the logic associated with cp_outgoing, so clean up usage of this
field.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Tested-by: Imanti Mendez <imanti.mendez@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/tcp_connect.c')
-rw-r--r-- | net/rds/tcp_connect.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rds/tcp_connect.c b/net/rds/tcp_connect.c index d6839d96d539..97db86101ac5 100644 --- a/net/rds/tcp_connect.c +++ b/net/rds/tcp_connect.c | |||
@@ -135,7 +135,6 @@ int rds_tcp_conn_path_connect(struct rds_conn_path *cp) | |||
135 | ret = sock->ops->connect(sock, (struct sockaddr *)&dest, sizeof(dest), | 135 | ret = sock->ops->connect(sock, (struct sockaddr *)&dest, sizeof(dest), |
136 | O_NONBLOCK); | 136 | O_NONBLOCK); |
137 | 137 | ||
138 | cp->cp_outgoing = 1; | ||
139 | rdsdebug("connect to address %pI4 returned %d\n", &conn->c_faddr, ret); | 138 | rdsdebug("connect to address %pI4 returned %d\n", &conn->c_faddr, ret); |
140 | if (ret == -EINPROGRESS) | 139 | if (ret == -EINPROGRESS) |
141 | ret = 0; | 140 | ret = 0; |