aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-08-08 15:20:36 +0200
committerJan Beulich <jbeulich@suse.com>2013-08-08 15:20:36 +0200
commitc17df4f584a3950c5f38d629e336b156dda18bbe (patch)
tree10a75e9602959dc7bf3d77ff192257aab466c769 /xen/arch/x86
parent5c858f0e55a443ef8717e18e0aa434a7fae0bd1f (diff)
downloadxen-c17df4f584a3950c5f38d629e336b156dda18bbe.tar.gz
xen-c17df4f584a3950c5f38d629e336b156dda18bbe.tar.bz2
xen-c17df4f584a3950c5f38d629e336b156dda18bbe.zip
cleanup unused request{_dt,}_irq() parameter
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@citrix.com> Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
Diffstat (limited to 'xen/arch/x86')
-rw-r--r--xen/arch/x86/hpet.c2
-rw-r--r--xen/arch/x86/irq.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/hpet.c b/xen/arch/x86/hpet.c
index 946d133655..7e0d3325fd 100644
--- a/xen/arch/x86/hpet.c
+++ b/xen/arch/x86/hpet.c
@@ -355,7 +355,7 @@ static int __init hpet_setup_msi_irq(struct hpet_event_channel *ch)
hpet_write32(cfg, HPET_Tn_CFG(ch->idx));
desc->handler = &hpet_msi_type;
- ret = request_irq(ch->msi.irq, hpet_interrupt_handler, 0, "HPET", ch);
+ ret = request_irq(ch->msi.irq, hpet_interrupt_handler, "HPET", ch);
if ( ret >= 0 )
ret = __hpet_setup_msi_irq(desc);
if ( ret < 0 )
diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c
index 8b59b4888e..c61cc4679e 100644
--- 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)
{
struct irqaction * action;
int retval;