Skip to content

Commit e4d8675

Browse files
YueHaibingakpm00
authored andcommitted
mm: remove unused vma_init_lock()
commit c7f8f31 ("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>
1 parent 3efd33b commit e4d8675

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/mm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,6 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
725725

726726
#else /* CONFIG_PER_VMA_LOCK */
727727

728-
static inline void vma_init_lock(struct vm_area_struct *vma) {}
729728
static inline bool vma_start_read(struct vm_area_struct *vma)
730729
{ return false; }
731730
static inline void vma_end_read(struct vm_area_struct *vma) {}

0 commit comments

Comments
 (0)