diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-08-30 18:47:59 -0400 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2023-09-07 20:32:11 -0500 |
commit | b84ca91ca28d044b2a7371a8ea797c9e75d8abb4 (patch) | |
tree | 3682d9396b0066e2b78f01adefb2855488f0b750 /qemu-nbd.c | |
parent | b87151a848b0019775bfddb16b79f5adcad3f36c (diff) | |
download | qemu-b84ca91ca28d044b2a7371a8ea797c9e75d8abb4.zip qemu-b84ca91ca28d044b2a7371a8ea797c9e75d8abb4.tar.gz qemu-b84ca91ca28d044b2a7371a8ea797c9e75d8abb4.tar.bz2 |
nbd: drop unused nbd_receive_negotiate() aio_context argument
aio_context is always NULL, so drop it.
Suggested-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230830224802.493686-2-stefanha@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
-rw-r--r-- | qemu-nbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -295,8 +295,8 @@ static void *nbd_client_thread(void *arg) goto out; } - if (nbd_receive_negotiate(NULL, QIO_CHANNEL(sioc), - NULL, NULL, NULL, &info, &local_error) < 0) { + if (nbd_receive_negotiate(QIO_CHANNEL(sioc), NULL, NULL, NULL, + &info, &local_error) < 0) { if (local_error) { error_report_err(local_error); } |