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-ayl...@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é <f4...@amsat.org>