]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: mm: remove comment referring to removed CONFIG_MIPS_CMP
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Wed, 10 Jun 2026 22:01:22 +0000 (15:01 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 15 Jun 2026 10:11:12 +0000 (12:11 +0200)
CMP support was removed in commit 7fb6f7b0af67 ("MIPS: Remove
deprecated CONFIG_MIPS_CMP"), but a comment referring to it remained in
arch/mips/mm/c-r4k.c. Remove it.

Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/mm/c-r4k.c

index 10413b6f6662bcf99433725cf4c037a91308b155..d8aadd3dc057e402e7abca0866a0637c9d04389e 100644 (file)
@@ -1757,11 +1757,6 @@ void r4k_cache_init(void)
        build_clear_page();
        build_copy_page();
 
-       /*
-        * We want to run CMP kernels on core with and without coherent
-        * caches. Therefore, do not use CONFIG_MIPS_CMP to decide whether
-        * or not to flush caches.
-        */
        local_r4k___flush_cache_all(NULL);
 
        coherency_setup();