Revert "sysbus: add irq_routing_notifier"
The callback has been introduced in commit715ca691da("sysbus: add irq_routing_notifier") for use in VFIO platform. Meanwhile, VFIO platform has been removed via commit762c855439("vfio: Remove 'vfio- platform'") which was its only user. Remove this unused code. This reverts commit715ca691da. cc: Cédric Le Goater <clg@redhat.com> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Message-id: 20260308203516.160103-6-shentey@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
bd884b6bb2
commit
26c89df2ff
@@ -104,13 +104,7 @@ qemu_irq sysbus_get_connected_irq(const SysBusDevice *dev, int n)
|
||||
|
||||
void sysbus_connect_irq(SysBusDevice *dev, int n, qemu_irq irq)
|
||||
{
|
||||
SysBusDeviceClass *sbd = SYS_BUS_DEVICE_GET_CLASS(dev);
|
||||
|
||||
qdev_connect_gpio_out_named(DEVICE(dev), SYSBUS_DEVICE_GPIO_IRQ, n, irq);
|
||||
|
||||
if (sbd->connect_irq_notifier) {
|
||||
sbd->connect_irq_notifier(dev, irq);
|
||||
}
|
||||
}
|
||||
|
||||
/* Check whether an MMIO region exists */
|
||||
|
||||
@@ -50,7 +50,6 @@ struct SysBusDeviceClass {
|
||||
* omitted then. (This is not considered a fatal error.)
|
||||
*/
|
||||
char *(*explicit_ofw_unit_address)(const SysBusDevice *dev);
|
||||
void (*connect_irq_notifier)(SysBusDevice *dev, qemu_irq irq);
|
||||
};
|
||||
|
||||
struct SysBusDevice {
|
||||
|
||||
Reference in New Issue
Block a user