Commit 59281eee authored by John Snow's avatar John Snow
Browse files

ahci: combine identical clauses in port write



Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180531222835.16558-6-jsnow@redhat.com
Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
parent f1123e4b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;