[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: cleanup unused request{_dt, }_irq() parameter
>>> On 06.08.13 at 19:42, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote: > The irqflags parameter appears to be an unused vestigial parameter right from > the integration of the IOMMU code in 2007. The parameter is 0 at all > callsites and never used. > > Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Reviewed-by: Jan Beulich <JBeulich@xxxxxxxx> If I were to commit it - with the appropriate acks - I'd also cleanup the white space damage left in place: > --- a/xen/arch/x86/irq.c > +++ b/xen/arch/x86/irq.c > @@ -951,7 +951,7 @@ __initcall(irq_ratelimit_init); > > int __init request_irq(unsigned int irq, > void (*handler)(int, void *, struct cpu_user_regs *), > - unsigned long irqflags, const char * devname, void *dev_id) > + const char * devname, void *dev_id) Here ... > --- a/xen/include/xen/irq.h > +++ b/xen/include/xen/irq.h > @@ -93,7 +93,7 @@ extern int setup_irq(unsigned int irq, struct irqaction *); > extern void release_irq(unsigned int irq); > extern int request_irq(unsigned int irq, > void (*handler)(int, void *, struct cpu_user_regs *), > - unsigned long irqflags, const char * devname, void *dev_id); > + const char * devname, void *dev_id); ... and here. I'd encourage you to in the future do such obvious cleanup on code you touch anyway. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |