diff --git a/include/linux/mm.h b/include/linux/mm.h index fcf84ad2053b7..b8ed44f401b58 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -629,16 +629,6 @@ static inline void vma_init(struct vm_area_struct *vma, struct mm_struct *mm) INIT_LIST_HEAD(&vma->anon_vma_chain); } -static inline void vm_flags_set(struct vm_area_struct *vma, vm_flags_t flags) -{ - vma->vm_flags |= flags; -} - -static inline void vm_flags_clear(struct vm_area_struct *vma, vm_flags_t flags) -{ - vma->vm_flags &= ~flags; -} - static inline void vma_set_anonymous(struct vm_area_struct *vma) { vma->vm_ops = NULL;