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/page.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/page.c')
-rw-r--r-- | net/rds/page.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/page.c b/net/rds/page.c index 5e44f5ae7898..a3e2e0ac8a60 100644 --- a/net/rds/page.c +++ b/net/rds/page.c | |||
@@ -40,7 +40,8 @@ struct rds_page_remainder { | |||
40 | unsigned long r_offset; | 40 | unsigned long r_offset; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_page_remainder, rds_page_remainders); | 43 | static DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_page_remainder, |
44 | rds_page_remainders); | ||
44 | 45 | ||
45 | /* | 46 | /* |
46 | * returns 0 on success or -errno on failure. | 47 | * returns 0 on success or -errno on failure. |