Skip to content

Commit

Permalink
um: remove unused mm_copy_segments
Browse files Browse the repository at this point in the history
It was already removed by commit c17c020 ("arch: remove unused
*_segments() macros/functions") but seems to have been accidentally
reintroduced by commit 0500871 ("Construct init thread stack in the
linker script rather than by union"). Remove it for good.

Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
tklauser authored and richardweinberger committed Jul 17, 2022
1 parent 6e12adc commit 53078ce
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/um/include/asm/processor-generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*/
Expand Down

0 comments on commit 53078ce

Please sign in to comment.