aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2018-06-08 13:17:37 -0400
committerJohn Snow <jsnow@redhat.com>2018-06-08 13:17:37 -0400
commit59281eee97e4c2ae357f307413159e62cbc709c1 (patch)
treec06c4e79404f5d498a49093f2c1e36021e846a75 /hw/ide
parentf1123e4b5c2b6bc8b4ebb9953b1c6ecfb4eb460d (diff)
ahci: combine identical clauses in port write
Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180531222835.16558-6-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/ahci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index a19f46c301..2aea9c3e12 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -330,11 +330,7 @@ static void ahci_port_write(AHCIState *s, int port, int offset, uint32_t val)
check_cmd(s, port);
break;
case PORT_TFDATA:
- /* Read Only. */
- break;
case PORT_SIG:
- /* Read Only */
- break;
case PORT_SCR_STAT:
/* Read Only */
break;