projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1123e4
)
ahci: combine identical clauses in port write
author
John Snow
<jsnow@redhat.com>
Fri, 8 Jun 2018 17:17:37 +0000
(13:17 -0400)
committer
John Snow
<jsnow@redhat.com>
Fri, 8 Jun 2018 17:17:37 +0000
(13:17 -0400)
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>
hw/ide/ahci.c
patch
|
blob
|
history
diff --git
a/hw/ide/ahci.c
b/hw/ide/ahci.c
index a19f46c301587afd13bc7cb862c8b9f703bf1a50..2aea9c3e12f9fa8d39daa3699774fb72911a9a00 100644
(file)
--- 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;