diff options
author | John Levon <john.levon@nutanix.com> | 2021-05-26 12:50:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 12:50:16 +0100 |
commit | 0a04aeae6ae904762c3abafb8de9708a9728d503 (patch) | |
tree | 929632124182e39c82a7799129a9d3f61ab56f62 | |
parent | bc8ae1ddf3af34113040345a256a8787443cdbb8 (diff) | |
download | libvfio-user-0a04aeae6ae904762c3abafb8de9708a9728d503.zip libvfio-user-0a04aeae6ae904762c3abafb8de9708a9728d503.tar.gz libvfio-user-0a04aeae6ae904762c3abafb8de9708a9728d503.tar.bz2 |
remove a stale FIXME (#527)
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
-rw-r--r-- | lib/tran_sock.c | 4 |
1 files changed, 0 insertions, 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, |