From 2e50c5667ce8724b0b7963255d3016efbb1f568a Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 14 Apr 2021 13:14:13 +0100 Subject: libvfio-user.c: use ERROR_INT() (#433) Reviewed-by: Thanos Makatos --- samples/client.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'samples') diff --git a/samples/client.c b/samples/client.c index 797cb00..0647328 100644 --- a/samples/client.c +++ b/samples/client.c @@ -1270,12 +1270,7 @@ int main(int argc, char *argv[]) * it's the client that creates and provides the FD. Do we need to save some * state in the migration data? */ - ret = configure_irqs(sock); - if (ret < 0) { - errx(EXIT_FAILURE, "failed to configure IRQs on destination server: %s", - strerror(-ret)); - } - irq_fd = ret; + irq_fd = configure_irqs(sock); wait_for_irq(irq_fd); -- cgit v1.1