Skip to content

Commit

Permalink
xen: Remove stale irq_chip.end
Browse files Browse the repository at this point in the history
irq_chip.end got obsolete with the removal of __do_IRQ()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
  • Loading branch information
Thomas Gleixner authored and Konrad Rzeszutek Wilk committed Mar 3, 2011
1 parent 7214610 commit 149f256
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions drivers/xen/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,23 +555,6 @@ static void ack_pirq(unsigned int irq)
}
}

static void end_pirq(unsigned int irq)
{
int evtchn = evtchn_from_irq(irq);
struct irq_desc *desc = irq_to_desc(irq);

if (WARN_ON(!desc))
return;

if ((desc->status & (IRQ_DISABLED|IRQ_PENDING)) ==
(IRQ_DISABLED|IRQ_PENDING)) {
shutdown_pirq(irq);
} else if (VALID_EVTCHN(evtchn)) {
unmask_evtchn(evtchn);
pirq_unmask_notify(irq);
}
}

static int find_irq_by_gsi(unsigned gsi)
{
int irq;
Expand Down Expand Up @@ -1508,7 +1491,6 @@ static struct irq_chip xen_pirq_chip __read_mostly = {
.mask = disable_pirq,

.ack = ack_pirq,
.end = end_pirq,

.set_affinity = set_affinity_irq,

Expand Down

0 comments on commit 149f256

Please sign in to comment.