mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
mm: remove unused vma_init_lock()
commit c7f8f31c00
("mm: separate vma->lock from vm_area_struct")
left this behind.
Link: https://lkml.kernel.org/r/20230610101956.20592-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
3efd33b753
commit
e4d8675615
1 changed files with 0 additions and 1 deletions
|
@ -725,7 +725,6 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
|
||||||
|
|
||||||
#else /* CONFIG_PER_VMA_LOCK */
|
#else /* CONFIG_PER_VMA_LOCK */
|
||||||
|
|
||||||
static inline void vma_init_lock(struct vm_area_struct *vma) {}
|
|
||||||
static inline bool vma_start_read(struct vm_area_struct *vma)
|
static inline bool vma_start_read(struct vm_area_struct *vma)
|
||||||
{ return false; }
|
{ return false; }
|
||||||
static inline void vma_end_read(struct vm_area_struct *vma) {}
|
static inline void vma_end_read(struct vm_area_struct *vma) {}
|
||||||
|
|
Loading…
Reference in a new issue