[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/17] hw/timer/hpet: Remove unused functions hpet_ram_readb, hpet
From: |
Laurent Vivier |
Subject: |
[PULL 06/17] hw/timer/hpet: Remove unused functions hpet_ram_readb, hpet_ram_readw |
Date: |
Sat, 19 Sep 2020 20:44:40 +0200 |
From: Dov Murik <dovmurik@linux.vnet.ibm.com>
Fix compiler error about defined but not used functions when compiling
with -DHPET_DEBUG by deleting the unused debug functions hpet_ram_readb
and hpet_ram_readw.
Signed-off-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200909083650.46771-2-dovmurik@linux.vnet.ibm.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
hw/timer/hpet.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c
index 44bbe3a5361e..07ff82b33358 100644
--- a/hw/timer/hpet.c
+++ b/hw/timer/hpet.c
@@ -419,20 +419,6 @@ static void hpet_del_timer(HPETTimer *t)
update_irq(t, 0);
}
-#ifdef HPET_DEBUG
-static uint32_t hpet_ram_readb(void *opaque, hwaddr addr)
-{
- printf("qemu: hpet_read b at %" PRIx64 "\n", addr);
- return 0;
-}
-
-static uint32_t hpet_ram_readw(void *opaque, hwaddr addr)
-{
- printf("qemu: hpet_read w at %" PRIx64 "\n", addr);
- return 0;
-}
-#endif
-
static uint64_t hpet_ram_read(void *opaque, hwaddr addr,
unsigned size)
{
--
2.26.2
- [PULL 00/17] Trivial branch for 5.2 patches, Laurent Vivier, 2020/09/19
- [PULL 01/17] hw/gpio/max7310: Remove impossible check, Laurent Vivier, 2020/09/19
- [PULL 03/17] ui/spice-input: Remove superfluous forward declaration, Laurent Vivier, 2020/09/19
- [PULL 02/17] hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definition, Laurent Vivier, 2020/09/19
- [PULL 04/17] manual: escape backslashes in "parsed-literal" blocks, Laurent Vivier, 2020/09/19
- [PULL 05/17] meson: remove empty else and duplicated gio deps, Laurent Vivier, 2020/09/19
- [PULL 06/17] hw/timer/hpet: Remove unused functions hpet_ram_readb, hpet_ram_readw,
Laurent Vivier <=
- [PULL 08/17] scripts/git.orderfile: Display meson files along with buildsys ones, Laurent Vivier, 2020/09/19
- [PULL 07/17] hw/timer/hpet: Fix debug format strings, Laurent Vivier, 2020/09/19
- [PULL 12/17] scripts/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 09/17] qemu/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 16/17] qapi/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 13/17] util/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 17/17] contrib/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 11/17] docs/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 15/17] disas/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 14/17] linux-user/: fix some comment spelling errors, Laurent Vivier, 2020/09/19