aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/mptsas.h
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2016-06-20 14:13:41 +0800
committerMichael S. Tsirkin <mst@redhat.com>2016-07-05 13:14:41 +0300
commit2e2aa31674444b61e79536a90d63a90572e695c8 (patch)
treed07e6a697ab2e782e43be10ec0c505891d28cfe9 /hw/scsi/mptsas.h
parentafea4e1410654154018587dd35c1b250ba4d8ec4 (diff)
mptsas: remove unnecessary internal msi state flag
internal flag msi_in_use in unnecessary, msi_uninit() could be called directly, and msi_enabled() is enough to check device msi state. cc: Markus Armbruster <armbru@redhat.com> cc: Marcel Apfelbaum <marcel@redhat.com> cc: Paolo Bonzini <pbonzini@redhat.com> cc: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/scsi/mptsas.h')
-rw-r--r--hw/scsi/mptsas.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/scsi/mptsas.h b/hw/scsi/mptsas.h
index 0436a33911..da014a397e 100644
--- a/hw/scsi/mptsas.h
+++ b/hw/scsi/mptsas.h
@@ -31,8 +31,6 @@ struct MPTSASState {
OnOffAuto msi;
uint64_t sas_addr;
- bool msi_in_use;
-
/* Doorbell register */
uint32_t state;
uint8_t who_init;