|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 12/42] esp: remove dma_counter from ESPState |
Date: | Wed, 10 Feb 2021 23:37:17 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 2/9/21 8:29 PM, Mark Cave-Ayland wrote: > The value of dma_counter is set once at the start of the transfer and remains > the same until the transfer is complete. This allows the check in > esp_transfer_data > to be simplified since dma_left will always be non-zero until the transfer is > completed. > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> > --- > hw/scsi/esp.c | 4 +--- > include/hw/scsi/esp.h | 3 --- > 2 files changed, 1 insertion(+), 6 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |