aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/processor.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-09-22 09:42:42 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-09-22 12:59:52 -1000
commitc17c02040bf0d186cebd3e66ff349f955575bf38 (patch)
tree670db70d8c21e0965a518501e09ee40f5736635d /arch/arc/include/asm/processor.h
parentMerge tag 'for-linus-4.14b-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip (diff)
downloadlinux-dev-c17c02040bf0d186cebd3e66ff349f955575bf38.tar.xz
linux-dev-c17c02040bf0d186cebd3e66ff349f955575bf38.zip
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 '')
-rw-r--r--arch/arc/include/asm/processor.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h
index d400a2161935..8ee41e988169 100644
--- a/arch/arc/include/asm/processor.h
+++ b/arch/arc/include/asm/processor.h
@@ -78,9 +78,6 @@ struct task_struct;
#endif
-#define copy_segments(tsk, mm) do { } while (0)
-#define release_segments(mm) do { } while (0)
-
#define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret)
#define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)