From 53078ceb8d0e530ab360896511005628e69ae896 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 21 Jun 2022 12:21:18 +0200 Subject: um: remove unused mm_copy_segments It was already removed by commit c17c02040bf0 ("arch: remove unused *_segments() macros/functions") but seems to have been accidentally reintroduced by commit 0500871f21b2 ("Construct init thread stack in the linker script rather than by union"). Remove it for good. Signed-off-by: Tobias Klauser Signed-off-by: Richard Weinberger --- arch/um/include/asm/processor-generic.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h index 6a4fe8b4e686..d0fc1862da95 100644 --- a/arch/um/include/asm/processor-generic.h +++ b/arch/um/include/asm/processor-generic.h @@ -59,11 +59,6 @@ static inline void release_thread(struct task_struct *task) { } -static inline void mm_copy_segments(struct mm_struct *from_mm, - struct mm_struct *new_mm) -{ -} - /* * User space process size: 3GB (default). */ -- cgit v1.2.3