aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/scsi/esp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c
index 1f9902a..ec82097 100644
--- a/hw/scsi/esp.c
+++ b/hw/scsi/esp.c
@@ -754,11 +754,6 @@ static void esp_do_dma(ESPState *s)
esp_lower_drq(s);
}
} else {
- /* Adjust TC for any leftover data in the FIFO */
- if (!fifo8_is_empty(&s->fifo)) {
- esp_set_tc(s, esp_get_tc(s) - fifo8_num_used(&s->fifo));
- }
-
/* Copy device data to FIFO */
len = MIN(len, fifo8_num_free(&s->fifo));
fifo8_push_all(&s->fifo, s->async_buf, len);