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 <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-10-b64f0842d512@linutronix.de
1 parent c9b5482 commit f2182dc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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)