diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-19 04:08:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 07:26:39 -0400 |
commit | ff51bf841587c75b58d25ed77263158619784dd3 (patch) | |
tree | 85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/connection.c | |
parent | d0c2b0d265a0f1f92922a99a31def9da582197ac (diff) |
rds: make local functions/variables static
The RDS protocol has lots of functions that should be
declared static. rds_message_get/add_version_extension is
removed since it defined but never used.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/connection.c')
-rw-r--r-- | net/rds/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/connection.c b/net/rds/connection.c index 870992e08ca..9334d892366 100644 --- a/net/rds/connection.c +++ b/net/rds/connection.c | |||
@@ -88,7 +88,7 @@ static struct rds_connection *rds_conn_lookup(struct hlist_head *head, | |||
88 | * and receiving over this connection again in the future. It is up to | 88 | * and receiving over this connection again in the future. It is up to |
89 | * the transport to have serialized this call with its send and recv. | 89 | * the transport to have serialized this call with its send and recv. |
90 | */ | 90 | */ |
91 | void rds_conn_reset(struct rds_connection *conn) | 91 | static void rds_conn_reset(struct rds_connection *conn) |
92 | { | 92 | { |
93 | rdsdebug("connection %pI4 to %pI4 reset\n", | 93 | rdsdebug("connection %pI4 to %pI4 reset\n", |
94 | &conn->c_laddr, &conn->c_faddr); | 94 | &conn->c_laddr, &conn->c_faddr); |