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); - static const SDProto sd_proto_spi; static const SDProto sd_proto_emmc; -- 2.56.0
