[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-8.0 3/9] hw/audio/intel-hda: Drop unnecessary prototype
From: |
Peter Maydell |
Subject: |
[PATCH for-8.0 3/9] hw/audio/intel-hda: Drop unnecessary prototype |
Date: |
Fri, 4 Nov 2022 16:15:07 +0000 |
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.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
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 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)
--
2.25.1
- [PATCH for-8.0 0/9] reset: Remove some deprecated APIs, Peter Maydell, 2022/11/04
- [PATCH for-8.0 2/9] hw/audio/intel-hda: don't reset codecs twice, Peter Maydell, 2022/11/04
- [PATCH for-8.0 4/9] hw/usb/hcd-xhci: Reset the XHCIState with device_cold_reset(), Peter Maydell, 2022/11/04
- [PATCH for-8.0 7/9] Replace use of qdev_reset_all() with device_cold_reset(), Peter Maydell, 2022/11/04
- [PATCH for-8.0 9/9] hw: Remove device_legacy_reset(), Peter Maydell, 2022/11/04
- [PATCH for-8.0 3/9] hw/audio/intel-hda: Drop unnecessary prototype,
Peter Maydell <=
- [PATCH for-8.0 6/9] hw/hyperv/vmbus: Use device_cold_reset() and bus_cold_reset(), Peter Maydell, 2022/11/04
- [PATCH for-8.0 5/9] pci: Use device_cold_reset() and bus_cold_reset(), Peter Maydell, 2022/11/04
- [PATCH for-8.0 8/9] qdev: Remove qdev_reset_all() and qbus_reset_all(), Peter Maydell, 2022/11/04
- [PATCH for-8.0 1/9] hw/s390x/s390-pci-inst.c: Use device_cold_reset() to reset PCI devices, Peter Maydell, 2022/11/04