xen: remove no longer used functions
authorJuergen Gross <jgross@suse.com>
Thu, 22 Oct 2020 09:49:03 +0000 (11:49 +0200)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Fri, 23 Oct 2020 10:41:25 +0000 (05:41 -0500)
With the switch to the lateeoi model for interdomain event channels
some functions are no longer in use. Remove them.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Link: https://lore.kernel.org/r/20201022094907.28560-2-jgross@suse.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
drivers/xen/events/events_base.c
include/xen/events.h

index cc31773..436682d 100644 (file)
@@ -1145,14 +1145,6 @@ static int bind_interdomain_evtchn_to_irq_chip(unsigned int remote_domain,
                                               chip);
 }
 
-int bind_interdomain_evtchn_to_irq(unsigned int remote_domain,
-                                  evtchn_port_t remote_port)
-{
-       return bind_interdomain_evtchn_to_irq_chip(remote_domain, remote_port,
-                                                  &xen_dynamic_chip);
-}
-EXPORT_SYMBOL_GPL(bind_interdomain_evtchn_to_irq);
-
 int bind_interdomain_evtchn_to_irq_lateeoi(unsigned int remote_domain,
                                           evtchn_port_t remote_port)
 {
@@ -1320,19 +1312,6 @@ static int bind_interdomain_evtchn_to_irqhandler_chip(
        return irq;
 }
 
-int bind_interdomain_evtchn_to_irqhandler(unsigned int remote_domain,
-                                         evtchn_port_t remote_port,
-                                         irq_handler_t handler,
-                                         unsigned long irqflags,
-                                         const char *devname,
-                                         void *dev_id)
-{
-       return bind_interdomain_evtchn_to_irqhandler_chip(remote_domain,
-                               remote_port, handler, irqflags, devname,
-                               dev_id, &xen_dynamic_chip);
-}
-EXPORT_SYMBOL_GPL(bind_interdomain_evtchn_to_irqhandler);
-
 int bind_interdomain_evtchn_to_irqhandler_lateeoi(unsigned int remote_domain,
                                                  evtchn_port_t remote_port,
                                                  irq_handler_t handler,
index 3b8155c..8ec418e 100644 (file)
@@ -35,16 +35,8 @@ int bind_ipi_to_irqhandler(enum ipi_vector ipi,
                           unsigned long irqflags,
                           const char *devname,
                           void *dev_id);
-int bind_interdomain_evtchn_to_irq(unsigned int remote_domain,
-                                  evtchn_port_t remote_port);
 int bind_interdomain_evtchn_to_irq_lateeoi(unsigned int remote_domain,
                                           evtchn_port_t remote_port);
-int bind_interdomain_evtchn_to_irqhandler(unsigned int remote_domain,
-                                         evtchn_port_t remote_port,
-                                         irq_handler_t handler,
-                                         unsigned long irqflags,
-                                         const char *devname,
-                                         void *dev_id);
 int bind_interdomain_evtchn_to_irqhandler_lateeoi(unsigned int remote_domain,
                                                  evtchn_port_t remote_port,
                                                  irq_handler_t handler,