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>
This commit is contained in:
parent
f1123e4b5c
commit
59281eee97
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user