From: Wei Qi <wei...@huawei.com> It is unnecessary to assign variable 'size' here, because 'size' unused after assignment.
Signed-off-by: Wei Qi <wei...@huawei.com> --- hw/scsi/esp-pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/scsi/esp-pci.c b/hw/scsi/esp-pci.c index e295d88..1f5980e 100644 --- a/hw/scsi/esp-pci.c +++ b/hw/scsi/esp-pci.c @@ -192,7 +192,6 @@ static void esp_pci_io_write(void *opaque, hwaddr addr, val <<= shift; val |= current & ~(mask << shift); addr &= ~3; - size = 4; } if (addr < 0x40) { -- 1.8.3.1