diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-17 18:38:50 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-17 18:38:50 -0400 |
commit | 762a03e21ed08daa5170d9cd98e83539861e7692 (patch) | |
tree | 43c626e5100387e9e66b8cc152194f51701a08db /drivers/infiniband/core | |
parent | 07d357d0cbf89d9980b1769d5444a3c70f000e00 (diff) |
[IB] ucm: quiet sparse warnings
Make ctx_id_mutex and ctx_id_table static to quiet sparse warnings.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/ucm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/ucm.c b/drivers/infiniband/core/ucm.c index d208ea29e07a..02ca642089bd 100644 --- a/drivers/infiniband/core/ucm.c +++ b/drivers/infiniband/core/ucm.c | |||
@@ -113,8 +113,8 @@ static struct ib_client ucm_client = { | |||
113 | .remove = ib_ucm_remove_one | 113 | .remove = ib_ucm_remove_one |
114 | }; | 114 | }; |
115 | 115 | ||
116 | DECLARE_MUTEX(ctx_id_mutex); | 116 | static DECLARE_MUTEX(ctx_id_mutex); |
117 | DEFINE_IDR(ctx_id_table); | 117 | static DEFINE_IDR(ctx_id_table); |
118 | static DECLARE_BITMAP(dev_map, IB_UCM_MAX_DEVICES); | 118 | static DECLARE_BITMAP(dev_map, IB_UCM_MAX_DEVICES); |
119 | 119 | ||
120 | static struct ib_ucm_context *ib_ucm_ctx_get(struct ib_ucm_file *file, int id) | 120 | static struct ib_ucm_context *ib_ucm_ctx_get(struct ib_ucm_file *file, int id) |