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/iw.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/iw.c')
-rw-r--r-- | net/rds/iw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/iw.c b/net/rds/iw.c index 56808cac0fc7..5a9676fe594f 100644 --- a/net/rds/iw.c +++ b/net/rds/iw.c | |||
@@ -56,7 +56,7 @@ struct list_head rds_iw_devices; | |||
56 | DEFINE_SPINLOCK(iw_nodev_conns_lock); | 56 | DEFINE_SPINLOCK(iw_nodev_conns_lock); |
57 | LIST_HEAD(iw_nodev_conns); | 57 | LIST_HEAD(iw_nodev_conns); |
58 | 58 | ||
59 | void rds_iw_add_one(struct ib_device *device) | 59 | static void rds_iw_add_one(struct ib_device *device) |
60 | { | 60 | { |
61 | struct rds_iw_device *rds_iwdev; | 61 | struct rds_iw_device *rds_iwdev; |
62 | struct ib_device_attr *dev_attr; | 62 | struct ib_device_attr *dev_attr; |
@@ -124,7 +124,7 @@ free_attr: | |||
124 | kfree(dev_attr); | 124 | kfree(dev_attr); |
125 | } | 125 | } |
126 | 126 | ||
127 | void rds_iw_remove_one(struct ib_device *device) | 127 | static void rds_iw_remove_one(struct ib_device *device) |
128 | { | 128 | { |
129 | struct rds_iw_device *rds_iwdev; | 129 | struct rds_iw_device *rds_iwdev; |
130 | struct rds_iw_cm_id *i_cm_id, *next; | 130 | struct rds_iw_cm_id *i_cm_id, *next; |