summaryrefslogtreecommitdiffstats
path: root/net/rds/ib_sysctl.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-19 10:08:33 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-21 13:26:39 +0200
commitff51bf841587c75b58d25ed77263158619784dd3 (patch)
tree85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/ib_sysctl.c
parentnapi: unexport napi_reuse_skb (diff)
downloadlinux-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/ib_sysctl.c')
-rw-r--r--net/rds/ib_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib_sysctl.c b/net/rds/ib_sysctl.c
index fc3da37220fd..1253b006efdb 100644
--- a/net/rds/ib_sysctl.c
+++ b/net/rds/ib_sysctl.c
@@ -61,7 +61,7 @@ static unsigned long rds_ib_sysctl_max_unsig_wr_max = 64;
*/
unsigned int rds_ib_sysctl_flow_control = 0;
-ctl_table rds_ib_sysctl_table[] = {
+static ctl_table rds_ib_sysctl_table[] = {
{
.procname = "max_send_wr",
.data = &rds_ib_sysctl_max_send_wr,