Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: remove orphan sb1250_time_init() declaration

All uses of sb1250_time_init() have been removed by
commit d527eef5b7f1 ("[MIPS] Sibyte: Finish conversion to modern
time APIs."), so remove the orphan declaration.

The comments about sb1250_time_init() is useless in arch_init_irq(),
so remove these comments.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Gaosheng Cui and committed by
Thomas Bogendoerfer
c8fbf8a8 692cb5b0

-7
-1
arch/mips/include/asm/sibyte/sb1250.h
··· 32 32 extern unsigned int periph_rev; 33 33 extern unsigned int zbbus_mhz; 34 34 35 - extern void sb1250_time_init(void); 36 35 extern void sb1250_mask_irq(int cpu, int irq); 37 36 extern void sb1250_unmask_irq(int cpu, int irq); 38 37
-6
arch/mips/sibyte/sb1250/irq.c
··· 262 262 __raw_writeq(tmp, IOADDR(A_IMR_REGISTER(0, R_IMR_INTERRUPT_MASK))); 263 263 __raw_writeq(tmp, IOADDR(A_IMR_REGISTER(1, R_IMR_INTERRUPT_MASK))); 264 264 265 - /* 266 - * Note that the timer interrupts are also mapped, but this is 267 - * done in sb1250_time_init(). Also, the profiling driver 268 - * does its own management of IP7. 269 - */ 270 - 271 265 /* Enable necessary IPs, disable the rest */ 272 266 change_c0_status(ST0_IM, imask); 273 267 }