From: Andy Grover Date: Fri, 17 Jul 2009 13:13:28 +0000 (+0000) Subject: RDS: Don't set c_version in __rds_conn_create() X-Git-Tag: v2.6.32-rc1~703^2~598 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9099707ded4b3aeda7b1a6c1c87076bd18578d24;p=karo-tx-linux.git 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 Signed-off-by: David S. Miller --- 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, } 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);