diff options
Diffstat (limited to 'mm/mlock.c')
-rw-r--r-- | mm/mlock.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/mlock.c b/mm/mlock.c index 749383b442c7..28be15ead9c1 100644 --- a/mm/mlock.c +++ b/mm/mlock.c | |||
@@ -671,9 +671,3 @@ void refund_locked_buffer_memory(struct mm_struct *mm, size_t size) | |||
671 | 671 | ||
672 | up_write(&mm->mmap_sem); | 672 | up_write(&mm->mmap_sem); |
673 | } | 673 | } |
674 | |||
675 | void free_locked_buffer(void *buffer, size_t size) | ||
676 | { | ||
677 | refund_locked_buffer_memory(current->mm, size); | ||
678 | kfree(buffer); | ||
679 | } | ||