diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-03-09 11:31:34 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-03-10 15:14:46 +0100 |
commit | ecf8191314798391b1df80bcb829c0ead4f8acc9 (patch) | |
tree | e0adc248d43576ffc80c0724ec7b958d892c51c9 /block/qed.c | |
parent | 27e0d8b508068c16e8f846428eb1d4e70ae11218 (diff) | |
download | qemu-ecf8191314798391b1df80bcb829c0ead4f8acc9.zip qemu-ecf8191314798391b1df80bcb829c0ead4f8acc9.tar.gz qemu-ecf8191314798391b1df80bcb829c0ead4f8acc9.tar.bz2 |
qed: remove spurious BDRV_POLL_WHILE()
This looks like a copy-paste or merge error. BDRV_POLL_WHILE() is
already called above. It's not needed in the qemu_in_coroutine() case.
Fixes: 9fb4dfc570ce ("qed: make bdrv_qed_do_open a coroutine_fn")
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230309163134.398707-1-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qed.c')
-rw-r--r-- | block/qed.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/qed.c b/block/qed.c index ed94bb6..0705a7b 100644 --- a/block/qed.c +++ b/block/qed.c @@ -594,7 +594,6 @@ static int bdrv_qed_open(BlockDriverState *bs, QDict *options, int flags, qemu_coroutine_enter(qemu_coroutine_create(bdrv_qed_open_entry, &qoc)); BDRV_POLL_WHILE(bs, qoc.ret == -EINPROGRESS); } - BDRV_POLL_WHILE(bs, qoc.ret == -EINPROGRESS); return qoc.ret; } |