[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 1/5] hw/arm/aspeed: Remove dead code
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 1/5] hw/arm/aspeed: Remove dead code |
Date: |
Thu, 25 Jan 2024 06:55:40 +0100 |
Remove copy/paste typo from commit 6c323aba40 ("hw/arm/aspeed:
Adding new machine Tiogapass in QEMU").
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
---
hw/arm/aspeed.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index cc59176563..4bc292ff84 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm/aspeed.c
@@ -1301,7 +1301,6 @@ static void
aspeed_machine_tiogapass_class_init(ObjectClass *oc, void *data)
mc->default_ram_size = 1 * GiB;
mc->default_cpus = mc->min_cpus = mc->max_cpus =
aspeed_soc_num_cpus(amc->soc_name);
- aspeed_soc_num_cpus(amc->soc_name);
};
static void aspeed_machine_sonorapass_class_init(ObjectClass *oc, void *data)
--
2.41.0
- [PATCH v3 0/5] hw/arm/aspeed: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/25
- [PATCH v3 1/5] hw/arm/aspeed: Remove dead code,
Philippe Mathieu-Daudé <=
- [PATCH v3 2/5] hw/arm/aspeed: Set default CPU count using aspeed_soc_num_cpus(), Philippe Mathieu-Daudé, 2024/01/25
- [PATCH v3 3/5] hw/arm/aspeed: Init CPU defaults in a common helper, Philippe Mathieu-Daudé, 2024/01/25
- [PATCH v3 4/5] hw/arm/aspeed: Introduce aspeed_soc_cpu_type() helper, Philippe Mathieu-Daudé, 2024/01/25
- [PATCH v3 5/5] hw/arm/aspeed: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/25
- Re: [PATCH v3 0/5] hw/arm/aspeed: Check for CPU types in machine_run_board_init(), Cédric Le Goater, 2024/01/25
- Re: [PATCH v3 0/5] hw/arm/aspeed: Check for CPU types in machine_run_board_init(), Cédric Le Goater, 2024/01/26