[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 10/12] ppc/pnv: remove pecc->rp_model
From: |
Daniel Henrique Barboza |
Subject: |
[PATCH v3 10/12] ppc/pnv: remove pecc->rp_model |
Date: |
Fri, 24 Jun 2022 05:49:19 -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 0ef66b9a9b..8dc363d69c 100644
--- a/hw/pci-host/pnv_phb4_pec.c
+++ b/hw/pci-host/pnv_phb4_pec.c
@@ -260,7 +260,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 = {
@@ -313,7 +312,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
- Re: [PATCH v3 01/12] ppc/pnv: add PHB3 bus init helper, (continued)
- [PATCH v3 02/12] ppc/pnv: add PnvPHB base/proxy device, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 03/12] ppc/pnv: turn PnvPHB3 into a PnvPHB backend, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 04/12] ppc/pnv: add PHB4 bus init helper, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 06/12] ppc/pnv: add pnv-phb-root-port device, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 07/12] ppc/pnv: remove pnv-phb3-root-port, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 08/12] ppc/pnv: remove pnv-phb4-root-port, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 05/12] ppc/pnv: turn PnvPHB4 into a PnvPHB backend, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 09/12] ppc/pnv: remove root port name from pnv_phb_attach_root_port(), Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 12/12] ppc/pnv: move attach_root_port helper to pnv-phb.c, Daniel Henrique Barboza, 2022/06/24
- [PATCH v3 10/12] ppc/pnv: remove pecc->rp_model,
Daniel Henrique Barboza <=
- [PATCH v3 11/12] ppc/pnv: remove PnvPHB4.version, Daniel Henrique Barboza, 2022/06/24