Skip to content

Commit f2182dc

Browse files
t-8chKAGA-KOKO
authored andcommitted
x86/mm/mmap: Remove arch_vma_name()
This function does not contain any logic, delete it so the equivalent weak definition from kernel/signal.c is used instead. Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent c9b5482 commit f2182dc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/x86/mm/mmap.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ unsigned long get_mmap_base(int is_legacy)
163163
return is_legacy ? mm->mmap_legacy_base : mm->mmap_base;
164164
}
165165

166-
const char *arch_vma_name(struct vm_area_struct *vma)
167-
{
168-
return NULL;
169-
}
170-
171166
/**
172167
* mmap_address_hint_valid - Validate the address hint of mmap
173168
* @addr: Address hint

0 commit comments

Comments
 (0)