um: remove unused mm_copy_segments

It was already removed by commit c17c02040b ("arch: remove unused
*_segments() macros/functions") but seems to have been accidentally
reintroduced by commit 0500871f21 ("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>
This commit is contained in:
Tobias Klauser 2022-06-21 12:21:18 +02:00 committed by Richard Weinberger
parent 6e12adcc61
commit 53078ceb8d

View 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).
*/