From 0a04aeae6ae904762c3abafb8de9708a9728d503 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 26 May 2021 12:50:16 +0100 Subject: remove a stale FIXME (#527) Signed-off-by: John Levon Reviewed-by: Thanos Makatos --- lib/tran_sock.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/tran_sock.c b/lib/tran_sock.c index e3789de..12b3321 100644 --- a/lib/tran_sock.c +++ b/lib/tran_sock.c @@ -211,10 +211,6 @@ get_msg(void *data, size_t len, int *fds, size_t *nr_fds, int sock_fd, * Receive a vfio-user message. If "len" is set to non-zero, the message should * include data of that length, which is stored in the pre-allocated "data" * pointer. - * - * FIXME: in general, sort out negative err returns - they should only be used - * when we're going to return > 0 on success, and even then "errno" might be - * better. */ static int tran_sock_recv_fds(int sock, struct vfio_user_header *hdr, bool is_reply, -- cgit v1.1