diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-09-24 16:15:42 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-10-23 13:42:16 +0100 |
| commit | 47ba680466d83adfa8c58620d4f5855c0de1a144 (patch) | |
| tree | e554615e6dc7c6537d3782b73dc7c015a43955e0 /util/vhost-user-server.h | |
| parent | df6af7ce77447be89e0d054dc06fb496ec4e69b4 (diff) | |
| download | focaccia-qemu-47ba680466d83adfa8c58620d4f5855c0de1a144.tar.gz focaccia-qemu-47ba680466d83adfa8c58620d4f5855c0de1a144.zip | |
util/vhost-user-server: drop unused DevicePanicNotifier
The device panic notifier callback is not used. Drop it. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20200924151549.913737-7-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util/vhost-user-server.h')
| -rw-r--r-- | util/vhost-user-server.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/util/vhost-user-server.h b/util/vhost-user-server.h index 5232f96718..92177fc911 100644 --- a/util/vhost-user-server.h +++ b/util/vhost-user-server.h @@ -29,12 +29,10 @@ typedef struct VuFdWatch { } VuFdWatch; typedef struct VuServer VuServer; -typedef void DevicePanicNotifierFn(VuServer *server); struct VuServer { QIONetListener *listener; AioContext *ctx; - DevicePanicNotifierFn *device_panic_notifier; int max_queues; const VuDevIface *vu_iface; VuDev vu_dev; @@ -54,7 +52,6 @@ bool vhost_user_server_start(VuServer *server, SocketAddress *unix_socket, AioContext *ctx, uint16_t max_queues, - DevicePanicNotifierFn *device_panic_notifier, const VuDevIface *vu_iface, Error **errp); |