projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3efd33b
)
mm: remove unused vma_init_lock()
author
YueHaibing
<yuehaibing@huawei.com>
Sat, 10 Jun 2023 10:19:56 +0000
(18:19 +0800)
committer
Andrew Morton
<akpm@linux-foundation.org>
Mon, 19 Jun 2023 23:19:28 +0000
(16:19 -0700)
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>
include/linux/mm.h
patch
|
blob
|
history
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index ab04756b2240cf2b8e55774dfc6f7fdb641ed519..f20ac57b634df87df8a177da12175adadbfced4f 100644
(file)
--- 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) {}