diff mbox series

[PULL,1/4] nbd/server.c: Remove unused field

Message ID 20220128230003.1114719-2-eblake@redhat.com
State New
Headers show
Series [PULL,1/4] nbd/server.c: Remove unused field | expand

Commit Message

Eric Blake Jan. 28, 2022, 11 p.m. UTC
From: Nir Soffer <nsoffer@redhat.com>

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>
---
 nbd/server.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/nbd/server.c b/nbd/server.c
index 4630dd732250..9fb2f264023e 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;