hw/arm/bcm2836: Remove unused 'cpu_type' field
Subsystems (2)
PATCH 1/1 hw/arm/bcm2836: Remove unused 'cpu_type' field
The 'cpu_type' has been moved from BCM283XState to BCM283XClass in commit 210f47840d, but we forgot to remove the old variable. Do it now.
Fixes 210f47840d ("hw/arm/bcm2836: Hardcode correct CPU type")
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- include/hw/arm/bcm2836.h | 1 - 1 file changed, 1 deletion(-)
include/hw/arm/bcm2836.h +0 -1
@@ -33,7 +33,6 @@ typedef struct BCM283XState {DeviceState parent_obj;/*< public >*/ -char *cpu_type;uint32_t enabled_cpus;struct {
Signature · 1 line
2.21.3
Quoted 7 lines · Philippe Mathieu-Daudé
The '
cpu_type' has been moved from BCM283XState to BCM283XClass in commit210f47840d, but we forgot to remove the old variable. Do it now.Fixes 210f47840d ("hw/arm/bcm2836: Hardcode correct CPU type")Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Reviewed-by Alistair Francis <[email protected]>
Alistair
Quoted 20 lines
--- include/hw/arm/bcm2836.h | 1 - 1 file changed, 1 deletion(-)include/hw/arm/bcm2836.h +0
-2@@ -33,7 +33,6 @@ typedef struct BCM283XState {DeviceState parent_obj;/*< public >*/ -char *cpu_type;uint32_t enabled_cpus;struct { --2.21.3
Peter Maydell
AppliedQuoted 11 lines · Philippe Mathieu-Daudé
The '
cpu_type' has been moved from BCM283XState to BCM283XClass in commit210f47840d, but we forgot to remove the old variable. Do it now.Fixes 210f47840d ("hw/arm/bcm2836: Hardcode correct CPU type")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/hw/arm/bcm2836.h | 1 - 1 file changed, 1 deletion(-)
Applied to target-arm.next, thanks.
-- PMM