diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-17 12:05:44 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2021-05-21 18:22:33 +0100 |
commit | fb74a286feaa4ec2cdcda61ba570244464581ca7 (patch) | |
tree | 876ecf053266ae741d2ff6fa4986d62e2d4f8712 /block | |
parent | 5b33e015d38acb00340b8310a24c9998138afbe6 (diff) |
coroutine-sleep: disallow NULL QemuCoSleepState** argument
Simplify the code by removing conditionals. qemu_co_sleep_ns
can simply point the argument to an on-stack temporary.
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210517100548.28806-3-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions