The irq member of struct nios2_timer is only written to but
never read, thus it can be removed.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
struct nios2_timer {
void __iomem *base;
unsigned long freq;
- int irq;
};
struct nios2_clockevent_dev {
panic("Unable to parse timer irq\n");
nios2_ce.timer.base = iobase;
- nios2_ce.timer.irq = irq;
nios2_ce.timer.freq = freq;
nios2_ce.ced.cpumask = cpumask_of(0);