diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-13 06:26:06 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-15 16:58:46 +0100 |
| commit | b0bccc6a9af57d6adb73041e94d7cd5b1554fc0b (patch) | |
| tree | b12406bc4d67ffe3c46f00fbe7f68c6b229ba7c0 /include/hw/ide | |
| parent | be02150167044e34d3c5ec5d9e84e8470e9a8166 (diff) | |
| download | focaccia-qemu-b0bccc6a9af57d6adb73041e94d7cd5b1554fc0b.tar.gz focaccia-qemu-b0bccc6a9af57d6adb73041e94d7cd5b1554fc0b.zip | |
hw/ide/ahci: Remove SysbusAHCIState::num_ports field
No need to duplicate AHCIState::ports, directly access it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240213081201.78951-9-philmd@linaro.org>
Diffstat (limited to 'include/hw/ide')
| -rw-r--r-- | include/hw/ide/ahci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/ide/ahci.h b/include/hw/ide/ahci.h index 604d3a0994..c0b10c2bb4 100644 --- a/include/hw/ide/ahci.h +++ b/include/hw/ide/ahci.h @@ -63,7 +63,6 @@ struct SysbusAHCIState { /*< public >*/ AHCIState ahci; - uint32_t num_ports; }; #define TYPE_ALLWINNER_AHCI "allwinner-ahci" |