Skip to contentSkip to conversation

hw/arm/bcm2836: Remove unused 'cpu_type' field

PATCH Applied Philippe Mathieu-Daudé 3 participants 3 messages Jul 3, 2020 – Jul 6, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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")
---
 include/hw/arm/bcm2836.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/arm/bcm2836.h +0 -1
index 024af8aae4..79dfff9d73 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Philippe Mathieu-Daudé

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")

Alistair

Quoted 20 lines
---
 include/hw/arm/bcm2836.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/arm/bcm2836.h +0 -2
index 024af8aae4..79dfff9d73 100644
@@ -33,7 +33,6 @@ typedef struct BCM283XState {
     DeviceState parent_obj;
     /*< public >*/
 
-    char *cpu_type;
     uint32_t enabled_cpus;
 
     struct {
--

2.21.3