qemu/hw/char
Peter Crosthwaite b5601df762 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>
2013-06-11 23:45:44 +04:00
..
cadence_uart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
debugcon.c debugcon: fix compiler warning when open DEBUG_DEBUGCON 2013-06-01 14:25:38 +04:00
escc.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
etraxfs_ser.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
exynos4210_uart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
grlib_apbuart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
imx_serial.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
ipack.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ipack.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ipoctal232.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
lm32_juart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
lm32_uart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
Makefile.objs hw: move char devices to hw/char/, configure via default-configs/ 2013-04-08 18:13:14 +02:00
mcf_uart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
milkymist-uart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
omap_uart.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
parallel.c parallel: QOM'ify 2013-04-29 08:27:48 -05:00
pl011.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
sclpconsole.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
serial-isa.c serial: QOM'ify ISA serial 2013-04-29 08:27:49 -05:00
serial-pci.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
serial.c char/serial: serial_ioport_write: Factor out common code 2013-06-11 23:45:44 +04:00
sh_serial.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
spapr_vty.c pseries: Convert VIO code to QOM style type safe(ish) casts 2013-04-26 23:02:41 +02:00
tpci200.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
virtio-console.c virtio-console: Remove any pending watches on close 2013-04-16 11:52:09 +02:00
virtio-serial-bus.c virtio-serial: fix command line compatibility. 2013-05-03 12:05:15 -05:00
xen_console.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
xilinx_uartlite.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00