summaryrefslogtreecommitdiffstats
path: root/hw/char/sh_serial.c
diff options
context:
space:
mode:
authorAnthony Liguori <anthony@codemonkey.ws>2013-10-09 07:54:20 -0700
committerAnthony Liguori <anthony@codemonkey.ws>2013-10-09 07:54:21 -0700
commit80dfc87394ed10f47918299a5192f337a85333d8 (patch)
tree04ef12fcbb6e2a8a375a229288ac3ac48186397e /hw/char/sh_serial.c
parent576e81be39ee195b9fd7c948fed16ed6846cef3a (diff)
parent387eedebf60a463ba30833588f10123da296ba4d (diff)
downloadhqemu-80dfc87394ed10f47918299a5192f337a85333d8.zip
hqemu-80dfc87394ed10f47918299a5192f337a85333d8.tar.gz
Merge remote-tracking branch 'mjt/trivial-patches' into staging
# By Stefan Weil (5) and others # Via Michael Tokarev * mjt/trivial-patches: migration: Fix compiler warning ('caps' may be used uninitialized) util/path: Fix type which is longer than 8 bit for MinGW hw/9pfs: Fix errno value for xattr functions vl: Clean up unnecessary boot_order complications qemu-char: Fix potential out of bounds access to local arrays pci-ohci: Add missing 'break' in ohci_service_td sh4: Fix serial line access for Linux kernels later than 3.2 hw/alpha: Fix compiler warning (integer constant is too large) target-i386: Fix compiler warning (integer constant is too large) block: Remove unused assignment (fixes warning from clang) exec: cleanup DEBUG_SUBPAGE tests: Fix schema parser test for in-tree build tests: Update .gitignore for test-int128 and test-bitops .gitignore: ignore tests/qemu-iotests/socket_scm_helper Message-id: 1381051979-25742-1-git-send-email-mjt@msgid.tls.msk.ru Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
Diffstat (limited to 'hw/char/sh_serial.c')
-rw-r--r--hw/char/sh_serial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/char/sh_serial.c b/hw/char/sh_serial.c
index 6223a55..9328dd1 100644
--- a/hw/char/sh_serial.c
+++ b/hw/char/sh_serial.c
@@ -248,11 +248,9 @@ static uint64_t sh_serial_read(void *opaque, hwaddr offs,
s->flags &= ~SH_SERIAL_FLAG_RDF;
}
break;
-#if 0
case 0x18:
ret = s->fcr;
break;
-#endif
case 0x1c:
ret = s->rx_cnt;
break;
OpenPOWER on IntegriCloud