Messages in this thread | | | Date | Tue, 6 Jan 2015 19:28:18 +0100 | Subject | Re: [PATCH] arch: ia64: kernel: irq_ia64.c: Remove unused function | From | Rickard Strandqvist <> |
| |
2015-01-05 20:33 GMT+01:00 Tony Luck <tony.luck@gmail.com>: > On Sat, Dec 20, 2014 at 9:07 AM, Rickard Strandqvist > <rickard_strandqvist@spectrumdigital.se> wrote: >> Remove the function ia64_handle_irq() that is not used anywhere. >> >> This was partially found by using a static code analysis program called cppcheck. > > $ git grep ia64_handle_irq > arch/ia64/kernel/irq_ia64.c:ia64_handle_irq (ia64_vector vector, > struct pt_regs *regs) > arch/ia64/kernel/irq_ia64.c: > printk("ia64_handle_irq: DANGER: less than " > arch/ia64/kernel/irq_ia64.c: * Now try calling > normal ia64_handle_irq as it would have got called > arch/ia64/kernel/ivt.S: br.call.sptk.many b6=ia64_handle_irq > > Note that last line. ia64_handle_irq() is called from assembly code > > -Tony
Hi Tony
Excuse me, this was a totally unnecessary patch :( I have otherwise tried to pay attention to just that.
Kind regards Rickard Strandqvist
| |