]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/audio/intel-hda: Drop unnecessary prototype
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Oct 2022 14:26:32 +0000 (15:26 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Nov 2022 11:30:45 +0000 (12:30 +0100)
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>
hw/audio/intel-hda.c

index 38cfa20262e27665848f769541956664c2f8d07f..b9ed231fe849a068f00e7893450ca738c637e495 100644 (file)
@@ -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)