[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/7] hw/audio/intel-hda: Drop unnecessary prototype
|
From: |
Gerd Hoffmann |
|
Subject: |
[PULL 7/7] hw/audio/intel-hda: Drop unnecessary prototype |
|
Date: |
Wed, 23 Nov 2022 15:44:36 +0100 |
From: Peter Maydell <peter.maydell@linaro.org>
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 | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c
index 38cfa20262e2..b9ed231fe849 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)
--
2.38.1
- [PULL 0/7] Fixes 20221123 patches, Gerd Hoffmann, 2022/11/23
- [PULL 1/7] Revert "usbredir: avoid queuing hello packet on snapshot restore", Gerd Hoffmann, 2022/11/23
- [PULL 5/7] hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset(), Gerd Hoffmann, 2022/11/23
- [PULL 3/7] hw/usb/hcd-xhci.c: spelling: tranfer, Gerd Hoffmann, 2022/11/23
- [PULL 4/7] ui/gtk: prevent ui lock up when dpy_gl_update called again before current draw event occurs, Gerd Hoffmann, 2022/11/23
- [PULL 6/7] hw/audio/intel-hda: don't reset codecs twice, Gerd Hoffmann, 2022/11/23
- [PULL 7/7] hw/audio/intel-hda: Drop unnecessary prototype,
Gerd Hoffmann <=
- [PULL 2/7] gtk: disable GTK Clipboard with a new meson option, Gerd Hoffmann, 2022/11/23
- Re: [PULL 0/7] Fixes 20221123 patches, Peter Maydell, 2022/11/23
- Re: [PULL 0/7] Fixes 20221123 patches, Stefan Hajnoczi, 2022/11/23