From: Mark Cave-Ayland Date: Fri, 11 Jul 2025 20:46:32 +0000 (+0100) Subject: esp.h: remove separate ESPState typedef X-Git-Tag: v10.1.0-rc0~17^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e70aa5dc299c49c59bd91c80e771db56996c2188;p=thirdparty%2Fqemu.git esp.h: remove separate ESPState typedef This is not needed as it is now handled by the OBJECT_DECLARE_SIMPLE_TYPE() macro. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-ID: <20250711204636.542964-4-mark.cave-ayland@ilande.co.uk> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/include/hw/scsi/esp.h b/include/hw/scsi/esp.h index 533d856aa34..c9afcb7cac0 100644 --- a/include/hw/scsi/esp.h +++ b/include/hw/scsi/esp.h @@ -14,8 +14,6 @@ typedef void (*ESPDMAMemoryReadWriteFunc)(void *opaque, uint8_t *buf, int len); #define ESP_FIFO_SZ 16 #define ESP_CMDFIFO_SZ 32 -typedef struct ESPState ESPState; - #define TYPE_ESP "esp" OBJECT_DECLARE_SIMPLE_TYPE(ESPState, ESP)