diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-09-22 09:42:42 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-22 12:59:52 -1000 |
commit | c17c02040bf0d186cebd3e66ff349f955575bf38 (patch) | |
tree | 670db70d8c21e0965a518501e09ee40f5736635d /arch/um/include | |
parent | 0a8abd97dcda50e5d2c893a51733416534e95706 (diff) | |
download | op-kernel-dev-c17c02040bf0d186cebd3e66ff349f955575bf38.zip op-kernel-dev-c17c02040bf0d186cebd3e66ff349f955575bf38.tar.gz |
arch: remove unused *_segments() macros/functions
Some architectures define the no-op macros/functions copy_segments,
release_segments and forget_segments. These are used nowhere in the
tree, so removed them.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Vineet Gupta <vgupta@synopsys.com> [for arch/arc]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/asm/processor-generic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h index f6d1a3f..86942a4 100644 --- a/arch/um/include/asm/processor-generic.h +++ b/arch/um/include/asm/processor-generic.h @@ -58,11 +58,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) -{ -} - #define init_stack (init_thread_union.stack) /* |