um: remove unused mm_copy_segments
authorTobias Klauser <tklauser@distanz.ch>
Tue, 21 Jun 2022 10:21:18 +0000 (12:21 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 17 Jul 2022 21:31:30 +0000 (23:31 +0200)
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 <tklauser@distanz.ch>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/asm/processor-generic.h

index 6a4fe8b4e686b56052513a80e5cb08bde9cd1197..d0fc1862da957dea0c5c0655e441c6a2885e05d8 100644 (file)
@@ -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).
  */