]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mm/percpu: remove unused pcpu_map_extend_chunks
authorBaoquan He <bhe@redhat.com>
Mon, 24 Oct 2022 08:14:28 +0000 (16:14 +0800)
committerDennis Zhou <dennis@kernel.org>
Tue, 8 Nov 2022 06:57:32 +0000 (22:57 -0800)
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>
mm/percpu.c

index 27697b2429c2e174f60cf0136739b5da26bc6039..26d8cd2ca3230956f3a018790fabeaf66bc7f599 100644 (file)
@@ -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.