On 6/10/26 11:44, Bernhard Beschow wrote:
No need for a forward declaration of sd_realize() since it is only used
after its definition.

Signed-off-by: Bernhard Beschow <[email protected]>
---
  hw/sd/sd.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index 6295e7a942..e6452226bc 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -209,8 +209,6 @@ struct SDState {
      char *preset_auth_key;
  };
-static void sd_realize(DeviceState *dev, Error **errp);

Indeed, since commit bda21477f523 ("hw/sd: Remove unused legacy
functions, stop killing mammoths").

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to