]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/vfio/ap.c
qdev: Unrealize must not fail
[thirdparty/qemu.git] / hw / vfio / ap.c
index 8649ac15f9465fbe5e9c73cf0b4deca82484b7cd..95564c17eda56a9b9c1fb08acf53b6fad772afd1 100644 (file)
@@ -124,7 +124,7 @@ out_get_dev_err:
     vfio_put_group(vfio_group);
 }
 
-static void vfio_ap_unrealize(DeviceState *dev, Error **errp)
+static void vfio_ap_unrealize(DeviceState *dev)
 {
     APDevice *apdev = AP_DEVICE(dev);
     VFIOAPDevice *vapdev = VFIO_AP_DEVICE(apdev);