virtio-serial-bus: Simplify handle_output() function
authorAmit Shah <amit.shah@redhat.com>
Thu, 3 Mar 2011 07:58:55 +0000 (13:28 +0530)
committerAmit Shah <amit.shah@redhat.com>
Mon, 21 Mar 2011 11:25:12 +0000 (16:55 +0530)
commitdf89def7dd50f563ac1bc8e33574d256d7c6bf51
tree738572fa6dbc833f324ee097237c5ce3cfb6a488
parent21302b51e2db77c95becbc0060ea0e4b1f53b92c
virtio-serial-bus: Simplify handle_output() function

There's no code change, just re-arrangement to simplify the function
after recent modifications.

Reported-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
hw/virtio-serial-bus.c