diff options
author | Thomas Huth <thuth@redhat.com> | 2019-02-05 04:08:21 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-02-28 10:30:08 +0100 |
commit | 9399ef168377d9e7f2e33b1c2eb61751aa1b72fa (patch) | |
tree | cc16bfd8cc27b220f73b5ac5b0af145d04c59294 /gdbstub.c | |
parent | 8a7816c4ac13e6ba61de2be1e4e93ed71bc26266 (diff) | |
download | qemu-9399ef168377d9e7f2e33b1c2eb61751aa1b72fa.zip qemu-9399ef168377d9e7f2e33b1c2eb61751aa1b72fa.tar.gz qemu-9399ef168377d9e7f2e33b1c2eb61751aa1b72fa.tar.bz2 |
audio/sdlaudio: Simplify the sdl_callback function
At the end of the while-loop, either "samples" or "sdl->live" is zero, so
now that we've removed the semaphore code, the content of the while-loop
is always only executed once. Thus we can remove the while-loop now to
get rid of one indentation level here.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1549336101-17623-3-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions