diff options
author | Nir Soffer <nsoffer@redhat.com> | 2022-01-11 21:43:13 +0200 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2022-01-28 16:48:28 -0600 |
commit | 523f5a9971c0766aefa2cfe42c4e7c3b54a21da6 (patch) | |
tree | 0636a8229c79026e472d046ab84a6476fb78a12a /nbd | |
parent | 7a1043cef91739ff4b59812d30f1ed2850d3d34e (diff) |
nbd/server.c: Remove unused field
NBDRequestData struct has unused QSIMPLEQ_ENTRY field. It seems that
this field exists since the first git commit and was never used.
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Message-Id: <20220111194313.581486-1-nsoffer@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Fixes: d9a73806 ("qemu-nbd: introduce NBDRequest", v1.1)
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'nbd')
-rw-r--r-- | nbd/server.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nbd/server.c b/nbd/server.c index 4630dd7322..9fb2f26402 100644 --- a/nbd/server.c +++ b/nbd/server.c @@ -77,7 +77,6 @@ static int system_errno_to_nbd_errno(int err) typedef struct NBDRequestData NBDRequestData; struct NBDRequestData { - QSIMPLEQ_ENTRY(NBDRequestData) entry; NBDClient *client; uint8_t *data; bool complete; |