summaryrefslogtreecommitdiffstats
path: root/nbd
diff options
context:
space:
mode:
authorNir Soffer2022-01-11 20:43:13 +0100
committerEric Blake2022-01-28 23:48:28 +0100
commit523f5a9971c0766aefa2cfe42c4e7c3b54a21da6 (patch)
tree0636a8229c79026e472d046ab84a6476fb78a12a /nbd
parentMerge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into ... (diff)
downloadqemu-523f5a9971c0766aefa2cfe42c4e7c3b54a21da6.tar.gz
qemu-523f5a9971c0766aefa2cfe42c4e7c3b54a21da6.tar.xz
qemu-523f5a9971c0766aefa2cfe42c4e7c3b54a21da6.zip
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 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;