From: Peter Maydell Date: Fri, 14 Oct 2022 14:26:32 +0000 (+0100) Subject: hw/audio/intel-hda: Drop unnecessary prototype X-Git-Tag: v7.2.0-rc3~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d3cf19548b7f9afd9d25c30dd1450aad7d1877d;p=thirdparty%2Fqemu.git hw/audio/intel-hda: Drop unnecessary prototype The only use of intel_hda_reset() is after its definition, so we don't need to separately declare its prototype at the top of the file; drop the unnecessary line. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20221014142632.2092404-3-peter.maydell@linaro.org> Signed-off-by: Gerd Hoffmann --- diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index 38cfa20262e..b9ed231fe84 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -220,8 +220,6 @@ struct IntelHDAReg { void (*rhandler)(IntelHDAState *d, const IntelHDAReg *reg); }; -static void intel_hda_reset(DeviceState *dev); - /* --------------------------------------------------------------------- */ static hwaddr intel_hda_addr(uint32_t lbase, uint32_t ubase)