Skip to content

Commit c8fbf8a

Browse files
gscuitsbogend
authored andcommitted
MIPS: remove orphan sb1250_time_init() declaration
All uses of sb1250_time_init() have been removed by commit d527eef ("[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>
1 parent 692cb5b commit c8fbf8a

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

arch/mips/include/asm/sibyte/sb1250.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ extern unsigned int soc_type;
3232
extern unsigned int periph_rev;
3333
extern unsigned int zbbus_mhz;
3434

35-
extern void sb1250_time_init(void);
3635
extern void sb1250_mask_irq(int cpu, int irq);
3736
extern void sb1250_unmask_irq(int cpu, int irq);
3837

arch/mips/sibyte/sb1250/irq.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,6 @@ void __init arch_init_irq(void)
262262
__raw_writeq(tmp, IOADDR(A_IMR_REGISTER(0, R_IMR_INTERRUPT_MASK)));
263263
__raw_writeq(tmp, IOADDR(A_IMR_REGISTER(1, R_IMR_INTERRUPT_MASK)));
264264

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-
271265
/* Enable necessary IPs, disable the rest */
272266
change_c0_status(ST0_IM, imask);
273267
}

0 commit comments

Comments
 (0)