mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 08:17:53 -06:00
ppc/pnv: remove pecc->rp_model
The attribute is unused. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Frederic Barrat <fbarrat@linux.ibm.com> Message-Id: <20220624084921.399219-11-danielhb413@gmail.com>
This commit is contained in:
parent
17c681e92d
commit
cb6a5c2644
2 changed files with 0 additions and 3 deletions
|
@ -260,7 +260,6 @@ static void pnv_pec_class_init(ObjectClass *klass, void *data)
|
||||||
pecc->version = PNV_PHB4_VERSION;
|
pecc->version = PNV_PHB4_VERSION;
|
||||||
pecc->phb_type = TYPE_PNV_PHB4;
|
pecc->phb_type = TYPE_PNV_PHB4;
|
||||||
pecc->num_phbs = pnv_pec_num_phbs;
|
pecc->num_phbs = pnv_pec_num_phbs;
|
||||||
pecc->rp_model = TYPE_PNV_PHB_ROOT_PORT;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo pnv_pec_type_info = {
|
static const TypeInfo pnv_pec_type_info = {
|
||||||
|
@ -313,7 +312,6 @@ static void pnv_phb5_pec_class_init(ObjectClass *klass, void *data)
|
||||||
pecc->version = PNV_PHB5_VERSION;
|
pecc->version = PNV_PHB5_VERSION;
|
||||||
pecc->phb_type = TYPE_PNV_PHB5;
|
pecc->phb_type = TYPE_PNV_PHB5;
|
||||||
pecc->num_phbs = pnv_phb5_pec_num_stacks;
|
pecc->num_phbs = pnv_phb5_pec_num_stacks;
|
||||||
pecc->rp_model = TYPE_PNV_PHB_ROOT_PORT;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const TypeInfo pnv_phb5_pec_type_info = {
|
static const TypeInfo pnv_phb5_pec_type_info = {
|
||||||
|
|
|
@ -200,7 +200,6 @@ struct PnvPhb4PecClass {
|
||||||
uint64_t version;
|
uint64_t version;
|
||||||
const char *phb_type;
|
const char *phb_type;
|
||||||
const uint32_t *num_phbs;
|
const uint32_t *num_phbs;
|
||||||
const char *rp_model;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue