diff mbox series

[1/4] ppc/pnv/pci: Cleanup PnvPHBPecState structure

Message ID 20230127122848.550083-2-fbarrat@linux.ibm.com (mailing list archive)
State New, archived
Headers show
Series PCI-related cleanup for ppc/powernv | expand

Commit Message

Frederic Barrat Jan. 27, 2023, 12:28 p.m. UTC
Remove unused structure member 'system_memory'.

Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
---
 include/hw/pci-host/pnv_phb4.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Cédric Le Goater Jan. 27, 2023, 4:15 p.m. UTC | #1
On 1/27/23 13:28, Frederic Barrat wrote:
> Remove unused structure member 'system_memory'.
> 
> Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>

Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.

> ---
>   include/hw/pci-host/pnv_phb4.h | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
> index 1f3237c9d5..17aef08f91 100644
> --- a/include/hw/pci-host/pnv_phb4.h
> +++ b/include/hw/pci-host/pnv_phb4.h
> @@ -173,8 +173,6 @@ struct PnvPhb4PecState {
>       uint32_t index;
>       uint32_t chip_id;
>   
> -    MemoryRegion *system_memory;
> -
>       /* Nest registers, excuding per-stack */
>   #define PHB4_PEC_NEST_REGS_COUNT    0xf
>       uint64_t nest_regs[PHB4_PEC_NEST_REGS_COUNT];
diff mbox series

Patch

diff --git a/include/hw/pci-host/pnv_phb4.h b/include/hw/pci-host/pnv_phb4.h
index 1f3237c9d5..17aef08f91 100644
--- a/include/hw/pci-host/pnv_phb4.h
+++ b/include/hw/pci-host/pnv_phb4.h
@@ -173,8 +173,6 @@  struct PnvPhb4PecState {
     uint32_t index;
     uint32_t chip_id;
 
-    MemoryRegion *system_memory;
-
     /* Nest registers, excuding per-stack */
 #define PHB4_PEC_NEST_REGS_COUNT    0xf
     uint64_t nest_regs[PHB4_PEC_NEST_REGS_COUNT];