[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/13] ppc/pnv: Drop pnv_is_power9() and pnv_is_power10() helpers
From: |
Greg Kurz |
Subject: |
[PATCH 06/13] ppc/pnv: Drop pnv_is_power9() and pnv_is_power10() helpers |
Date: |
Fri, 13 Dec 2019 13:00:02 +0100 |
User-agent: |
StGit/unknown-version |
They aren't used anymore.
Signed-off-by: Greg Kurz <address@hidden>
---
include/hw/ppc/pnv.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/hw/ppc/pnv.h b/include/hw/ppc/pnv.h
index 8a42c199b65c..c213bdd5ecd3 100644
--- a/include/hw/ppc/pnv.h
+++ b/include/hw/ppc/pnv.h
@@ -227,11 +227,6 @@ static inline bool pnv_chip_is_power9(const PnvChip *chip)
return PNV_CHIP_GET_CLASS(chip)->chip_type == PNV_CHIP_POWER9;
}
-static inline bool pnv_is_power9(PnvMachineState *pnv)
-{
- return pnv_chip_is_power9(pnv->chips[0]);
-}
-
PnvChip *pnv_get_chip(uint32_t chip_id);
#define PNV_FDT_ADDR 0x01000000
@@ -242,11 +237,6 @@ static inline bool pnv_chip_is_power10(const PnvChip *chip)
return PNV_CHIP_GET_CLASS(chip)->chip_type == PNV_CHIP_POWER10;
}
-static inline bool pnv_is_power10(PnvMachineState *pnv)
-{
- return pnv_chip_is_power10(pnv->chips[0]);
-}
-
/*
* BMC helpers
*/
[PATCH 08/13] ppc/pnv: Introduce PnvChipClass::xscom_core_base() method, Greg Kurz, 2019/12/13
[PATCH 09/13] ppc/pnv: Pass XSCOM base address and address size to pnv_dt_xscom(), Greg Kurz, 2019/12/13
[PATCH 11/13] ppc/pnv: Drop pnv_chip_is_power9() and pnv_chip_is_power10() helpers, Greg Kurz, 2019/12/13