aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/events.c')
-rw-r--r--drivers/xen/events.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index a9c154d1d2ff..d52defda53b1 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -222,16 +222,6 @@ static unsigned gsi_from_irq(unsigned irq)
222 return info->u.pirq.gsi; 222 return info->u.pirq.gsi;
223} 223}
224 224
225static unsigned vector_from_irq(unsigned irq)
226{
227 struct irq_info *info = info_for_irq(irq);
228
229 BUG_ON(info == NULL);
230 BUG_ON(info->type != IRQT_PIRQ);
231
232 return info->u.pirq.vector;
233}
234
235static enum xen_irq_type type_from_irq(unsigned irq) 225static enum xen_irq_type type_from_irq(unsigned irq)
236{ 226{
237 return info_for_irq(irq)->type; 227 return info_for_irq(irq)->type;
@@ -716,16 +706,6 @@ out:
716 return rc; 706 return rc;
717} 707}
718 708
719int xen_vector_from_irq(unsigned irq)
720{
721 return vector_from_irq(irq);
722}
723
724int xen_gsi_from_irq(unsigned irq)
725{
726 return gsi_from_irq(irq);
727}
728
729int xen_irq_from_pirq(unsigned pirq) 709int xen_irq_from_pirq(unsigned pirq)
730{ 710{
731 return pirq_to_irq[pirq]; 711 return pirq_to_irq[pirq];