diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-04-27 18:04:01 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-04-28 08:58:21 -0500 |
commit | e30f328c7429d4e891ce6da26af95c607f392739 (patch) | |
tree | 9244cc28eaea6aca37cb015544c22e6a4a6ecd28 /hw/virtio-console.c | |
parent | 306eb457fd057b7d0185145530a98f236b1c9aa4 (diff) |
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>
Diffstat (limited to 'hw/virtio-console.c')
0 files changed, 0 insertions, 0 deletions