diff options
Diffstat (limited to 'fs/dlm/memory.c')
-rw-r--r-- | fs/dlm/memory.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/dlm/memory.c b/fs/dlm/memory.c index 0b9851d0bdb2..f7cf4589fae8 100644 --- a/fs/dlm/memory.c +++ b/fs/dlm/memory.c | |||
@@ -50,22 +50,6 @@ void free_lvb(char *p) | |||
50 | kfree(p); | 50 | kfree(p); |
51 | } | 51 | } |
52 | 52 | ||
53 | uint64_t *allocate_range(struct dlm_ls *ls) | ||
54 | { | ||
55 | int ralen = 4*sizeof(uint64_t); | ||
56 | uint64_t *p; | ||
57 | |||
58 | p = kmalloc(ralen, GFP_KERNEL); | ||
59 | if (p) | ||
60 | memset(p, 0, ralen); | ||
61 | return p; | ||
62 | } | ||
63 | |||
64 | void free_range(uint64_t *p) | ||
65 | { | ||
66 | kfree(p); | ||
67 | } | ||
68 | |||
69 | /* FIXME: have some minimal space built-in to rsb for the name and | 53 | /* FIXME: have some minimal space built-in to rsb for the name and |
70 | kmalloc a separate name if needed, like dentries are done */ | 54 | kmalloc a separate name if needed, like dentries are done */ |
71 | 55 | ||