diff options
author | YueHaibing <yuehaibing@huawei.com> | 2023-06-10 18:19:56 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-19 16:19:28 -0700 |
commit | e4d86756159b5794edad5b0d0d19c6f3d9888240 (patch) | |
tree | 5944b4bf67e6cade8dd7894bb82b3f23c8b53d24 /include | |
parent | 3efd33b75358185ac9f45cfc189e20712be3570b (diff) | |
download | lwn-e4d86756159b5794edad5b0d0d19c6f3d9888240.tar.gz lwn-e4d86756159b5794edad5b0d0d19c6f3d9888240.zip |
mm: remove unused vma_init_lock()
commit c7f8f31c00d1 ("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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index ab04756b2240..f20ac57b634d 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -725,7 +725,6 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm, #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) { return false; } static inline void vma_end_read(struct vm_area_struct *vma) {} |