summaryrefslogtreecommitdiff
path: root/arch/um/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-09-20 21:32:52 +0000
committerRichard Weinberger <richard@nod.at>2021-12-21 21:31:35 +0100
commit6605a448668b9d03aa94fbd6be42612d49aa45c6 (patch)
tree279e24730cb55ccb2503feb8502e78cff1f636a7 /arch/um/kernel
parent2098e213dd64b1d10b8fc6fc66e3a2a80f841dbe (diff)
um: kill unused cpu()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r--arch/um/kernel/process.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c
index 7055cd446155..4a420778ed87 100644
--- a/arch/um/kernel/process.c
+++ b/arch/um/kernel/process.c
@@ -264,11 +264,6 @@ int clear_user_proc(void __user *buf, int size)
return clear_user(buf, size);
}
-int cpu(void)
-{
- return current_thread_info()->cpu;
-}
-
static atomic_t using_sysemu = ATOMIC_INIT(0);
int sysemu_supported;