csky: remove unusued thread_saved_pc and *_segments functions/macros
authorTobias Klauser <tklauser@distanz.ch>
Wed, 10 Jun 2020 15:39:35 +0000 (17:39 +0200)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 31 Jul 2020 01:50:48 +0000 (01:50 +0000)
commitc23dd2405fc2054345be33f8bb1d04b3b805202d
tree6cc3add545a5f520bd6100510449ebe5c19abf9c
parent92ed301919932f777713b9172e525674157e983d
csky: remove unusued thread_saved_pc and *_segments functions/macros

These are used nowhere in the tree (except for some architectures which
define them for their own use) and were already removed for other
architectures in:

commit 6474924e2b5d ("arch: remove unused macro/function thread_saved_pc()")
commit c17c02040bf0 ("arch: remove unused *_segments() macros/functions")

Remove them from arch/csky as well.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Guo Ren <guoren@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/include/asm/processor.h
arch/csky/kernel/process.c