diff options
Diffstat (limited to 'net/ceph/ceph_common.c')
-rw-r--r-- | net/ceph/ceph_common.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c index 58fbfe134f93..d361a274aee7 100644 --- a/net/ceph/ceph_common.c +++ b/net/ceph/ceph_common.c | |||
@@ -184,14 +184,6 @@ void *ceph_kvmalloc(size_t size, gfp_t flags) | |||
184 | return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL); | 184 | return __vmalloc(size, flags | __GFP_HIGHMEM, PAGE_KERNEL); |
185 | } | 185 | } |
186 | 186 | ||
187 | void ceph_kvfree(const void *ptr) | ||
188 | { | ||
189 | if (is_vmalloc_addr(ptr)) | ||
190 | vfree(ptr); | ||
191 | else | ||
192 | kfree(ptr); | ||
193 | } | ||
194 | |||
195 | 187 | ||
196 | static int parse_fsid(const char *str, struct ceph_fsid *fsid) | 188 | static int parse_fsid(const char *str, struct ceph_fsid *fsid) |
197 | { | 189 | { |