aboutsummaryrefslogtreecommitdiff
path: root/nbd
diff options
context:
space:
mode:
authorNir Soffer <nsoffer@redhat.com>2022-01-11 21:43:13 +0200
committerEric Blake <eblake@redhat.com>2022-01-28 16:48:28 -0600
commit523f5a9971c0766aefa2cfe42c4e7c3b54a21da6 (patch)
tree0636a8229c79026e472d046ab84a6476fb78a12a /nbd
parent7a1043cef91739ff4b59812d30f1ed2850d3d34e (diff)
downloadqemu-523f5a9971c0766aefa2cfe42c4e7c3b54a21da6.zip
qemu-523f5a9971c0766aefa2cfe42c4e7c3b54a21da6.tar.gz
qemu-523f5a9971c0766aefa2cfe42c4e7c3b54a21da6.tar.bz2
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/nbd/server.c b/nbd/server.c
index 4630dd7..9fb2f26 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;