summary refs log tree commit diff stats
path: root/ui/gtk.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2013-06-03 15:14:48 +1000
committerMichael Tokarev <mjt@tls.msk.ru>2013-06-11 23:45:44 +0400
commitb5601df7624b461759651c49ac72a189951780b9 (patch)
treef0cf9557619d509217923c2edfb127fa244e153c /ui/gtk.c
parent8e8638fa87ff045f5dadec7342301bf10de776ff (diff)
downloadfocaccia-qemu-b5601df7624b461759651c49ac72a189951780b9.tar.gz
focaccia-qemu-b5601df7624b461759651c49ac72a189951780b9.zip
char/serial: serial_ioport_write: Factor out common code
These three lines are common to both FIFO and regular mode. Just factor
them out to outside the if rather than replicate the same lines inside
both if and else.

Cc: qemu-trivial@nongnu.org

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'ui/gtk.c')
0 files changed, 0 insertions, 0 deletions