diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-25 15:20:36 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-08-27 14:04:55 -0400 |
commit | 040c1fd35c7c352759e710a4caa01a633049ade6 (patch) | |
tree | 834af9c455b0b880539fa3d6f5cbc060ba658b24 /hw/scsi/mptsas.c | |
parent | 2d8eb5f85f054cbde8786dc7db56eb2c6feb0db3 (diff) | |
download | qemu-040c1fd35c7c352759e710a4caa01a633049ade6.zip qemu-040c1fd35c7c352759e710a4caa01a633049ade6.tar.gz qemu-040c1fd35c7c352759e710a4caa01a633049ade6.tar.bz2 |
mptsas: Move QOM macros to header
This will make future conversion to OBJECT_DECLARE* easier.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-41-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/scsi/mptsas.c')
-rw-r--r-- | hw/scsi/mptsas.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c index 14cbed8..135e7d9 100644 --- a/hw/scsi/mptsas.c +++ b/hw/scsi/mptsas.c @@ -42,11 +42,6 @@ #define NAA_LOCALLY_ASSIGNED_ID 0x3ULL #define IEEE_COMPANY_LOCALLY_ASSIGNED 0x525400 -#define TYPE_MPTSAS1068 "mptsas1068" - -#define MPT_SAS(obj) \ - OBJECT_CHECK(MPTSASState, (obj), TYPE_MPTSAS1068) - #define MPTSAS1068_PRODUCT_ID \ (MPI_FW_HEADER_PID_FAMILY_1068_SAS | \ MPI_FW_HEADER_PID_PROD_INITIATOR_SCSI | \ |