summaryrefslogtreecommitdiff
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorBaoquan He <bhe@redhat.com>2022-10-24 16:14:28 +0800
committerDennis Zhou <dennis@kernel.org>2022-11-07 22:57:32 -0800
commit5a7d596a05dddd09c44ae462f881491cf87ed120 (patch)
tree5660e556a04cd2739b9e68db3caeb1d79de5483e /mm/percpu.c
parentf0c4d9fc9cc9462659728d168387191387e903cc (diff)
mm/percpu: remove unused pcpu_map_extend_chunks
Since commit 40064aeca35c ("percpu: replace area map allocator with bitmap"), it is unneeded. Signed-off-by: Baoquan He <bhe@redhat.com> Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'mm/percpu.c')
-rw-r--r--mm/percpu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 27697b2429c2..26d8cd2ca323 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -174,9 +174,6 @@ static DEFINE_MUTEX(pcpu_alloc_mutex); /* chunk create/destroy, [de]pop, map ext
struct list_head *pcpu_chunk_lists __ro_after_init; /* chunk list slots */
-/* chunks which need their map areas extended, protected by pcpu_lock */
-static LIST_HEAD(pcpu_map_extend_chunks);
-
/*
* The number of empty populated pages, protected by pcpu_lock.
* The reserved chunk doesn't contribute to the count.