From: John Snow Date: Fri, 8 Jun 2018 17:17:37 +0000 (-0400) Subject: ahci: combine identical clauses in port write X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=59281eee97e4c2ae357f307413159e62cbc709c1;p=qemu.git ahci: combine identical clauses in port write Signed-off-by: John Snow Reviewed-by: Philippe Mathieu-Daudé Message-id: 20180531222835.16558-6-jsnow@redhat.com Signed-off-by: John Snow --- 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;