diff options
author | Mark Cave-Ayland | 2021-03-04 23:10:42 +0100 |
---|---|---|
committer | Mark Cave-Ayland | 2021-03-07 11:39:05 +0100 |
commit | 2c573cfe19cd3f4cad7540ec542c40e54305d56a (patch) | |
tree | b73eeb210d650077cb63e355b2c9d0f6cd808a42 /include/hw | |
parent | esp: remove the buf and buflen parameters from get_cmd() (diff) | |
download | qemu-2c573cfe19cd3f4cad7540ec542c40e54305d56a.tar.gz qemu-2c573cfe19cd3f4cad7540ec542c40e54305d56a.tar.xz qemu-2c573cfe19cd3f4cad7540ec542c40e54305d56a.zip |
esp: remove redundant pdma_start from ESPState
Now that PDMA SCSI commands are accumulated in cmdbuf in the same way as normal
commands, the existing logic for locating the start of the SCSI command in
cmdbuf via cmdlen can be used. This enables the PDMA-specific pdma_start and
also get_pdma_buf() to be removed.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210304221103.6369-22-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/scsi/esp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/scsi/esp.h b/include/hw/scsi/esp.h index 600d0c31ab..55b0aee762 100644 --- a/include/hw/scsi/esp.h +++ b/include/hw/scsi/esp.h @@ -58,7 +58,6 @@ struct ESPState { void (*dma_cb)(ESPState *s); int pdma_origin; uint32_t pdma_len; - uint32_t pdma_start; uint32_t pdma_cur; void (*pdma_cb)(ESPState *s); |