diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-19 10:08:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 13:26:39 +0200 |
commit | ff51bf841587c75b58d25ed77263158619784dd3 (patch) | |
tree | 85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/tcp_recv.c | |
parent | napi: unexport napi_reuse_skb (diff) | |
download | linux-ff51bf841587c75b58d25ed77263158619784dd3.tar.xz linux-ff51bf841587c75b58d25ed77263158619784dd3.zip |
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/tcp_recv.c')
-rw-r--r-- | net/rds/tcp_recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/tcp_recv.c b/net/rds/tcp_recv.c index 67263fbee623..78205e25500a 100644 --- a/net/rds/tcp_recv.c +++ b/net/rds/tcp_recv.c @@ -272,7 +272,8 @@ out: } /* the caller has to hold the sock lock */ -int rds_tcp_read_sock(struct rds_connection *conn, gfp_t gfp, enum km_type km) +static int rds_tcp_read_sock(struct rds_connection *conn, gfp_t gfp, + enum km_type km) { struct rds_tcp_connection *tc = conn->c_transport_data; struct socket *sock = tc->t_sock; |