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/recv.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/recv.c')
-rw-r--r-- | net/rds/recv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/rds/recv.c b/net/rds/recv.c index 68800f02aa30..596689e59272 100644 --- a/net/rds/recv.c +++ b/net/rds/recv.c | |||
@@ -48,12 +48,11 @@ void rds_inc_init(struct rds_incoming *inc, struct rds_connection *conn, | |||
48 | } | 48 | } |
49 | EXPORT_SYMBOL_GPL(rds_inc_init); | 49 | EXPORT_SYMBOL_GPL(rds_inc_init); |
50 | 50 | ||
51 | void rds_inc_addref(struct rds_incoming *inc) | 51 | static void rds_inc_addref(struct rds_incoming *inc) |
52 | { | 52 | { |
53 | rdsdebug("addref inc %p ref %d\n", inc, atomic_read(&inc->i_refcount)); | 53 | rdsdebug("addref inc %p ref %d\n", inc, atomic_read(&inc->i_refcount)); |
54 | atomic_inc(&inc->i_refcount); | 54 | atomic_inc(&inc->i_refcount); |
55 | } | 55 | } |
56 | EXPORT_SYMBOL_GPL(rds_inc_addref); | ||
57 | 56 | ||
58 | void rds_inc_put(struct rds_incoming *inc) | 57 | void rds_inc_put(struct rds_incoming *inc) |
59 | { | 58 | { |