mips: remove unused function mc146818_set_rtc_mmss
authorMateusz Jończyk <mat.jonczyk@o2.pl>
Sun, 13 Jul 2025 10:04:31 +0000 (12:04 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 16 Jul 2025 16:37:00 +0000 (18:37 +0200)
commit97c6f7dffd3192b9b010be6e3658340573495d00
treefaa77a61263d7f9d5007d81e90af6d534c78b76e
parentdb6f8fcd56438a078ef61779ff68068a0886a79b
mips: remove unused function mc146818_set_rtc_mmss

I have checked carefully: this function is unused, so remove it.

The last caller appears to have been removed in 2007 in
commit 4b550488f894 ("[MIPS] Deforest the function pointer jungle in the time code.")

mc146818-time.h is included only in three files:
- arch/mips/mti-malta/malta-time.c
- arch/mips/loongson64/numa.c
- arch/mips/loongson2ef/common/time.c

Also, remove unused macros USEC_AFTER/USEC_BEFORE.

Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/mc146818-time.h