summaryrefslogtreecommitdiffstats
path: root/hw/block/nvme.h
diff options
context:
space:
mode:
authorKlaus Jensen2020-07-29 21:08:04 +0200
committerKlaus Jensen2020-09-02 08:48:50 +0200
commit13b4463d8b4f46ab69755d1dd74c6a0c957cce08 (patch)
tree988eb11893abd98bc840a252920ecd120b3b55f2 /hw/block/nvme.h
parenthw/block/nvme: replace dma_acct with blk_acct equivalent (diff)
downloadqemu-13b4463d8b4f46ab69755d1dd74c6a0c957cce08.tar.gz
qemu-13b4463d8b4f46ab69755d1dd74c6a0c957cce08.tar.xz
qemu-13b4463d8b4f46ab69755d1dd74c6a0c957cce08.zip
hw/block/nvme: remove redundant has_sg member
Remove the has_sg member from NvmeRequest since it's redundant. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Diffstat (limited to 'hw/block/nvme.h')
-rw-r--r--hw/block/nvme.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h
index 0b6a8ae665..5519b5cc76 100644
--- a/hw/block/nvme.h
+++ b/hw/block/nvme.h
@@ -22,7 +22,6 @@ typedef struct NvmeRequest {
struct NvmeSQueue *sq;
BlockAIOCB *aiocb;
uint16_t status;
- bool has_sg;
NvmeCqe cqe;
BlockAcctCookie acct;
QEMUSGList qsg;