summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell2022-10-14 16:26:32 +0200
committerGerd Hoffmann2022-11-23 12:30:45 +0100
commit7d3cf19548b7f9afd9d25c30dd1450aad7d1877d (patch)
treee614578b7c39a1097ce5595813ed53519663ff8a
parenthw/audio/intel-hda: don't reset codecs twice (diff)
downloadqemu-7d3cf19548b7f9afd9d25c30dd1450aad7d1877d.tar.gz
qemu-7d3cf19548b7f9afd9d25c30dd1450aad7d1877d.tar.xz
qemu-7d3cf19548b7f9afd9d25c30dd1450aad7d1877d.zip
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 <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221014142632.2092404-3-peter.maydell@linaro.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--hw/audio/intel-hda.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c
index 38cfa20262..b9ed231fe8 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)