diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-02-14 15:11:20 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:38:10 -0500 |
commit | 79a225be38932b17707009767e85d6edf450e7cc (patch) | |
tree | 5359d4de3bcc764ec6014479d6b6954a245c4e73 /drivers/infiniband/sw/rdmavt/mmap.c | |
parent | 0765b01b8e2da50ad56f6544f935f5eaef1389f2 (diff) |
IB/rdmavt: Remove unnecessary exported functions
Remove exported functions which are no longer required as the
functionality has moved into rdmavt. This also requires re-ordering some
of the functions since their prototype no longer appears in a header
file. Rather than add forward declarations it is just cleaner to
re-order some of the functions.
Reviewed-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rdmavt/mmap.c')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/mmap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/sw/rdmavt/mmap.c b/drivers/infiniband/sw/rdmavt/mmap.c index 273974fb7d1f..e202b8142759 100644 --- a/drivers/infiniband/sw/rdmavt/mmap.c +++ b/drivers/infiniband/sw/rdmavt/mmap.c | |||
@@ -80,7 +80,6 @@ void rvt_release_mmap_info(struct kref *ref) | |||
80 | vfree(ip->obj); | 80 | vfree(ip->obj); |
81 | kfree(ip); | 81 | kfree(ip); |
82 | } | 82 | } |
83 | EXPORT_SYMBOL(rvt_release_mmap_info); | ||
84 | 83 | ||
85 | static void rvt_vma_open(struct vm_area_struct *vma) | 84 | static void rvt_vma_open(struct vm_area_struct *vma) |
86 | { | 85 | { |
@@ -146,7 +145,6 @@ int rvt_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) | |||
146 | done: | 145 | done: |
147 | return ret; | 146 | return ret; |
148 | } | 147 | } |
149 | EXPORT_SYMBOL(rvt_mmap); | ||
150 | 148 | ||
151 | /** | 149 | /** |
152 | * rvt_create_mmap_info - allocate information for hfi1_mmap | 150 | * rvt_create_mmap_info - allocate information for hfi1_mmap |
@@ -185,7 +183,6 @@ struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, | |||
185 | 183 | ||
186 | return ip; | 184 | return ip; |
187 | } | 185 | } |
188 | EXPORT_SYMBOL(rvt_create_mmap_info); | ||
189 | 186 | ||
190 | /** | 187 | /** |
191 | * rvt_update_mmap_info - update a mem map | 188 | * rvt_update_mmap_info - update a mem map |
@@ -209,4 +206,3 @@ void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip, | |||
209 | ip->size = size; | 206 | ip->size = size; |
210 | ip->obj = obj; | 207 | ip->obj = obj; |
211 | } | 208 | } |
212 | EXPORT_SYMBOL(rvt_update_mmap_info); | ||