diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2017-06-15 11:28:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-16 12:45:14 -0400 |
commit | 41500c3e2a19ffcf40a7158fce1774de08e26ba2 (patch) | |
tree | 723682c0d034d68674f943d70e83632a28c71ad7 /net/rds/connection.c | |
parent | 5f886eefbb2d4b207c43b96bbe951545be4f462d (diff) | |
download | linux-41500c3e2a19ffcf40a7158fce1774de08e26ba2.tar.bz2 |
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/connection.c')
-rw-r--r-- | net/rds/connection.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/rds/connection.c b/net/rds/connection.c index 6a5ebdea7d2e..382443b060cb 100644 --- a/net/rds/connection.c +++ b/net/rds/connection.c @@ -124,11 +124,6 @@ static void __rds_conn_path_init(struct rds_connection *conn, cp->cp_conn = conn; atomic_set(&cp->cp_state, RDS_CONN_DOWN); cp->cp_send_gen = 0; - /* cp_outgoing is per-path. So we can only set it here - * for the single-path transports. - */ - if (!conn->c_trans->t_mp_capable) - cp->cp_outgoing = (is_outgoing ? 1 : 0); cp->cp_reconnect_jiffies = 0; INIT_DELAYED_WORK(&cp->cp_send_w, rds_send_worker); INIT_DELAYED_WORK(&cp->cp_recv_w, rds_recv_worker); |