diff options
author | Greg Kurz | 2019-12-13 13:00:02 +0100 |
---|---|---|
committer | David Gibson | 2019-12-17 00:59:10 +0100 |
commit | acc39abb311d75d945c0efb17ae43bf3ef367170 (patch) | |
tree | a2485cbcb4bc373d949e6cf1349ed70207bb48a4 /include/hw | |
parent | ppc/pnv: Introduce PnvMachineClass::dt_power_mgt() (diff) | |
download | qemu-acc39abb311d75d945c0efb17ae43bf3ef367170.tar.gz qemu-acc39abb311d75d945c0efb17ae43bf3ef367170.tar.xz qemu-acc39abb311d75d945c0efb17ae43bf3ef367170.zip |
ppc/pnv: Drop pnv_is_power9() and pnv_is_power10() helpers
They aren't used anymore.
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <157623840200.360005.1300941274565357363.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/ppc/pnv.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/hw/ppc/pnv.h b/include/hw/ppc/pnv.h index 8a42c199b6..c213bdd5ec 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 */ |