mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
target/alpha, hppa: Remove unused parent_reset fields
The Alpha and HPPA CPU class structs include a 'parent_reset' field which is never used; delete them. (These targets don't seem to implement reset at all; if they did they should do it using the three-phase reset mechanism, which uses a 'ResettablePhases parent_phases' field instead of the old 'DeviceReset parent_reset' field.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20240830145812.1967042-6-peter.maydell@linaro.org
This commit is contained in:
parent
5313a0a41e
commit
349ecf61e8
2 changed files with 0 additions and 4 deletions
|
@ -267,7 +267,6 @@ struct ArchCPU {
|
||||||
/**
|
/**
|
||||||
* AlphaCPUClass:
|
* AlphaCPUClass:
|
||||||
* @parent_realize: The parent class' realize handler.
|
* @parent_realize: The parent class' realize handler.
|
||||||
* @parent_reset: The parent class' reset handler.
|
|
||||||
*
|
*
|
||||||
* An Alpha CPU model.
|
* An Alpha CPU model.
|
||||||
*/
|
*/
|
||||||
|
@ -275,7 +274,6 @@ struct AlphaCPUClass {
|
||||||
CPUClass parent_class;
|
CPUClass parent_class;
|
||||||
|
|
||||||
DeviceRealize parent_realize;
|
DeviceRealize parent_realize;
|
||||||
DeviceReset parent_reset;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
|
|
|
@ -281,7 +281,6 @@ struct ArchCPU {
|
||||||
/**
|
/**
|
||||||
* HPPACPUClass:
|
* HPPACPUClass:
|
||||||
* @parent_realize: The parent class' realize handler.
|
* @parent_realize: The parent class' realize handler.
|
||||||
* @parent_reset: The parent class' reset handler.
|
|
||||||
*
|
*
|
||||||
* An HPPA CPU model.
|
* An HPPA CPU model.
|
||||||
*/
|
*/
|
||||||
|
@ -289,7 +288,6 @@ struct HPPACPUClass {
|
||||||
CPUClass parent_class;
|
CPUClass parent_class;
|
||||||
|
|
||||||
DeviceRealize parent_realize;
|
DeviceRealize parent_realize;
|
||||||
DeviceReset parent_reset;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "exec/cpu-all.h"
|
#include "exec/cpu-all.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue