diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-19 08:08:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 04:26:39 -0700 |
commit | ff51bf841587c75b58d25ed77263158619784dd3 (patch) | |
tree | 85d415536b84c48afe2aea0243f420ac262e1bbd /net/rds/iw_rdma.c | |
parent | d0c2b0d265a0f1f92922a99a31def9da582197ac (diff) | |
download | op-kernel-dev-ff51bf841587c75b58d25ed77263158619784dd3.zip op-kernel-dev-ff51bf841587c75b58d25ed77263158619784dd3.tar.gz |
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/iw_rdma.c')
-rw-r--r-- | net/rds/iw_rdma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/iw_rdma.c b/net/rds/iw_rdma.c index 0e7accc..59509e9 100644 --- a/net/rds/iw_rdma.c +++ b/net/rds/iw_rdma.c @@ -157,7 +157,8 @@ static int rds_iw_add_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id * return 0; } -void rds_iw_remove_cm_id(struct rds_iw_device *rds_iwdev, struct rdma_cm_id *cm_id) +static void rds_iw_remove_cm_id(struct rds_iw_device *rds_iwdev, + struct rdma_cm_id *cm_id) { struct rds_iw_cm_id *i_cm_id; |