[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 06/11] sun4c: remove unused functions
From: |
Blue Swirl |
Subject: |
[Qemu-trivial] [PATCH 06/11] sun4c: remove unused functions |
Date: |
Sun, 14 Oct 2012 19:58:54 +0000 |
Signed-off-by: Blue Swirl <address@hidden>
---
hw/sun4c_intctl.c | 23 -----------------------
hw/sun4m.h | 4 ----
2 files changed, 0 insertions(+), 27 deletions(-)
diff --git a/hw/sun4c_intctl.c b/hw/sun4c_intctl.c
index 8dfa5ec..09ef937 100644
--- a/hw/sun4c_intctl.c
+++ b/hw/sun4c_intctl.c
@@ -94,29 +94,6 @@ static const MemoryRegionOps sun4c_intctl_mem_ops = {
},
};
-void sun4c_pic_info(Monitor *mon, void *opaque)
-{
- Sun4c_INTCTLState *s = opaque;
-
- monitor_printf(mon, "master: pending 0x%2.2x, enabled 0x%2.2x\n",
- s->pending, s->reg);
-}
-
-void sun4c_irq_info(Monitor *mon, void *opaque)
-{
-#ifndef DEBUG_IRQ_COUNT
- monitor_printf(mon, "irq statistic code not compiled.\n");
-#else
- Sun4c_INTCTLState *s = opaque;
- int64_t count;
-
- monitor_printf(mon, "IRQ statistics:\n");
- count = s->irq_count;
- if (count > 0)
- monitor_printf(mon, " %" PRId64 "\n", count);
-#endif
-}
-
static const uint32_t intbit_to_level[] = { 0, 1, 4, 6, 8, 10, 0, 14, };
static void sun4c_check_interrupts(void *opaque)
diff --git a/hw/sun4m.h b/hw/sun4m.h
index 504c3af..a7b7ac7 100644
--- a/hw/sun4m.h
+++ b/hw/sun4m.h
@@ -26,10 +26,6 @@ static inline void sparc_iommu_memory_write(void *opaque,
void slavio_pic_info(Monitor *mon, DeviceState *dev);
void slavio_irq_info(Monitor *mon, DeviceState *dev);
-/* sun4c_intctl.c */
-void sun4c_pic_info(Monitor *mon, void *opaque);
-void sun4c_irq_info(Monitor *mon, void *opaque);
-
/* sun4m.c */
void sun4m_pic_info(Monitor *mon);
void sun4m_irq_info(Monitor *mon);
--
1.7.2.5
- [Qemu-trivial] [PATCH 00/11] static patches, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 01/11] target-sparc: make do_unaligned_access static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 02/11] vl.c: add missing static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 03/11] vnc: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 04/11] tap-win32: avoid a warning, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 05/11] m48t59: remove unused m48t59_set_addr, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 06/11] sun4c: remove unused functions,
Blue Swirl <=
- [Qemu-trivial] [PATCH 08/11] ppc: add missing static and remove unused functions, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 09/11] target-ppc: make some functions static, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 11/11] exec: make some functions static, Blue Swirl, 2012/10/14
- Re: [Qemu-trivial] [PATCH 00/11] static patches, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 07/11] slirp: remove unused function u_sleep, Blue Swirl, 2012/10/14
- [Qemu-trivial] [PATCH 10/11] arm: add missing static and remove unused functions, Blue Swirl, 2012/10/14