aboutsummaryrefslogtreecommitdiff
path: root/hw/pxa2xx_dma.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-02-20 16:50:36 +0300
committerAndrzej Zaborowski <balrog@zabor.org>2011-03-03 14:50:20 +0100
commitee2479d3e8fbf6d79813eb7744725ae0e14eaf58 (patch)
tree3e00631c48f2a39f6765e0b45b83a7821892ee4a /hw/pxa2xx_dma.c
parent5251d196aa712a28528fee5f93af3fe10a0b7f27 (diff)
pxa2xx_dma: drop unused pxa2xx_dma_handler_t/handler field
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Diffstat (limited to 'hw/pxa2xx_dma.c')
-rw-r--r--hw/pxa2xx_dma.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/pxa2xx_dma.c b/hw/pxa2xx_dma.c
index b512d34501..92c3e1ee20 100644
--- a/hw/pxa2xx_dma.c
+++ b/hw/pxa2xx_dma.c
@@ -20,11 +20,7 @@ typedef struct {
int request;
} PXA2xxDMAChannel;
-/* Allow the DMA to be used as a PIC. */
-typedef void (*pxa2xx_dma_handler_t)(void *opaque, int irq, int level);
-
struct PXA2xxDMAState {
- pxa2xx_dma_handler_t handler;
qemu_irq irq;
uint32_t stopintr;
@@ -494,7 +490,6 @@ static PXA2xxDMAState *pxa2xx_dma_init(target_phys_addr_t base,
s->channels = channels;
s->chan = qemu_mallocz(sizeof(PXA2xxDMAChannel) * s->channels);
s->irq = irq;
- s->handler = (pxa2xx_dma_handler_t) pxa2xx_dma_request;
s->req = qemu_mallocz(sizeof(uint8_t) * PXA2XX_DMA_NUM_REQUESTS);
memset(s->chan, 0, sizeof(PXA2xxDMAChannel) * s->channels);