aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2009-07-17 09:13:28 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-20 11:03:08 -0400
commit9099707ded4b3aeda7b1a6c1c87076bd18578d24 (patch)
tree4c10d4f48d5c7bc14af35e77732412c1382efb6a
parent597ddd50e1c07ac55ac7742442690efcf16a37f5 (diff)
RDS: Don't set c_version in __rds_conn_create()
Protocol negotiation is logically a property of the transports, so rds core need not set it. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/rds/connection.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rds/connection.c b/net/rds/connection.c
index d14445c48304..605fe3f60de3 100644
--- a/net/rds/connection.c
+++ b/net/rds/connection.c
@@ -155,7 +155,6 @@ static struct rds_connection *__rds_conn_create(__be32 laddr, __be32 faddr,
155 } 155 }
156 156
157 INIT_HLIST_NODE(&conn->c_hash_node); 157 INIT_HLIST_NODE(&conn->c_hash_node);
158 conn->c_version = RDS_PROTOCOL_3_0;
159 conn->c_laddr = laddr; 158 conn->c_laddr = laddr;
160 conn->c_faddr = faddr; 159 conn->c_faddr = faddr;
161 spin_lock_init(&conn->c_lock); 160 spin_lock_init(&conn->c_lock);