mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
mm, x86, ptrace, bts: defer branch trace stopping, remove dead code
Remove the unused free_locked_buffer() API. Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
44bc9dc729
commit
a34b50ddc2
2 changed files with 0 additions and 7 deletions
|
|
@ -671,9 +671,3 @@ void refund_locked_buffer_memory(struct mm_struct *mm, size_t size)
|
|||
|
||||
up_write(&mm->mmap_sem);
|
||||
}
|
||||
|
||||
void free_locked_buffer(void *buffer, size_t size)
|
||||
{
|
||||
refund_locked_buffer_memory(current->mm, size);
|
||||
kfree(buffer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue