]> git.proxmox.com Git - qemu.git/commit
virtio-serial: Remove redundant check for 0-sized write request
authorAmit Shah <amit.shah@redhat.com>
Tue, 27 Apr 2010 12:34:01 +0000 (18:04 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 28 Apr 2010 13:58:21 +0000 (08:58 -0500)
commite30f328c7429d4e891ce6da26af95c607f392739
tree9244cc28eaea6aca37cb015544c22e6a4a6ecd28
parent306eb457fd057b7d0185145530a98f236b1c9aa4
virtio-serial: Remove redundant check for 0-sized write request

The check for a 0-sized write request to a guest port is not necessary;
the while loop below won't be executed in this case and all will be
fine.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-serial-bus.c