summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.btw@antgroup.com>2024-05-27 21:40:23 +0800
committerJohannes Berg <johannes.berg@intel.com>2024-07-03 12:21:57 +0200
commit6fdae1da764abeff77d0d884101f42c114b8f93b (patch)
tree6fcf71ee57dbab1d78c433f850ae3a48c3a18e22 /arch/um/kernel
parent1cf855ded6962825da8623b467c4650a80776cad (diff)
downloadlinux-stable-6fdae1da764abeff77d0d884101f42c114b8f93b.tar.gz
linux-stable-6fdae1da764abeff77d0d884101f42c114b8f93b.tar.bz2
linux-stable-6fdae1da764abeff77d0d884101f42c114b8f93b.zip
um: Remove unused ncpus variable
It's no longer used. And uml_ncpus_setup doesn't exist anymore. Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com> Link: https://patch.msgid.link/20240527134024.1539848-2-tiwei.btw@antgroup.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r--arch/um/kernel/um_arch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index e95f805e5004..8e594cda6d77 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -126,9 +126,6 @@ unsigned long uml_reserved; /* Also modified in mem_init */
unsigned long start_vm;
unsigned long end_vm;
-/* Set in uml_ncpus_setup */
-int ncpus = 1;
-
/* Set in early boot */
static int have_root __initdata;
static int have_console __initdata;