Skip to content

Commit

Permalink
RDS: Don't set c_version in __rds_conn_create()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Grover authored and David S. Miller committed Jul 20, 2009
1 parent 597ddd5 commit 9099707
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/rds/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ static struct rds_connection *__rds_conn_create(__be32 laddr, __be32 faddr,
}

INIT_HLIST_NODE(&conn->c_hash_node);
conn->c_version = RDS_PROTOCOL_3_0;
conn->c_laddr = laddr;
conn->c_faddr = faddr;
spin_lock_init(&conn->c_lock);
Expand Down

0 comments on commit 9099707

Please sign in to comment.