[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 15/16] ppc/pnv: remove pecc->rp_model
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH v2 15/16] ppc/pnv: remove pecc->rp_model |
Date: |
Tue, 31 May 2022 18:49:16 -0300 |
The attribute is unused.
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
---
hw/pci-host/pnv_phb4_pec.c | 2 --
include/hw/pci-host/pnv_phb4.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/hw/pci-host/pnv_phb4_pec.c b/hw/pci-host/pnv_phb4_pec.c
index 785b778396..8f11e077c2 100644
--- a/hw/pci-host/pnv_phb4_pec.c
+++ b/hw/pci-host/pnv_phb4_pec.c
@@ -262,7 +262,6 @@ static void pnv_pec_class_init(ObjectClass *klass, void
*data)
pecc->version = PNV_PHB4_VERSION;
pecc->phb_type = TYPE_PNV_PHB4;
pecc->num_phbs = pnv_pec_num_phbs;
- pecc->rp_model = TYPE_PNV_PHB_ROOT_PORT;
}
static const TypeInfo pnv_pec_type_info = {
@@ -315,7 +314,6 @@ static void pnv_phb5_pec_class_init(ObjectClass *klass,
void *data)
pecc->version = PNV_PHB5_VERSION;
pecc->phb_type = TYPE_PNV_PHB5;
pecc->num_phbs = pnv_phb5_pec_num_stacks;
- pecc->rp_model = TYPE_PNV_PHB_ROOT_PORT;
}
static const TypeInfo pnv_phb5_pec_type_info = {
diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
index 29c49ac79c..61a0cb9989 100644
--- a/include/hw/pci-host/pnv_phb4.h
+++ b/include/hw/pci-host/pnv_phb4.h
@@ -200,7 +200,6 @@ struct PnvPhb4PecClass {
uint64_t version;
const char *phb_type;
const uint32_t *num_phbs;
- const char *rp_model;
};
/*
--
2.36.1
- [PATCH v2 05/16] ppc/pnv: user created pnv-phb for powernv8, (continued)
- [PATCH v2 05/16] ppc/pnv: user created pnv-phb for powernv8, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 06/16] ppc/pnv: add PHB4 bus init helper, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 07/16] ppc/pnv: change PnvPHB4 to be a PnvPHB backend, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 08/16] ppc/pnv: user created pnv-phb for powernv9, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 09/16] ppc/pnv: change pnv_phb4_get_pec() to also retrieve chip10->pecs, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 10/16] ppc/pnv: user creatable pnv-phb for powernv10, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 11/16] ppc/pnv: add pnv-phb-root-port device, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 12/16] ppc/pnv: remove pnv-phb3-root-port, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 13/16] ppc/pnv: remove pnv-phb4-root-port, Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 14/16] ppc/pnv: remove 'phb_rootport_typename' in pnv_phb_realize(), Daniel Henrique Barboza, 2022/05/31
- [PATCH v2 15/16] ppc/pnv: remove pecc->rp_model,
Daniel Henrique Barboza <=
- [PATCH v2 16/16] ppc/pnv: remove PnvPHB4.version, Daniel Henrique Barboza, 2022/05/31