]> xenbits.xensource.com Git - qemu-xen-unstable.git/commitdiff
Remove merge-duplicated dma_phony_handler
authorIan Jackson <iwj@mariner.uk.xensource.com>
Mon, 2 Jun 2008 10:12:42 +0000 (11:12 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 2 Jun 2008 10:12:42 +0000 (11:12 +0100)
hw/dma.c

index 433ac3d9df2023a2b8a799864846a1fb3701bf07..d2316990367d1fe22a80202ea489d135127c9585 100644 (file)
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -448,13 +448,6 @@ static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len)
     return dma_pos;
 }
 
-static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len)
-{
-    dolog ("unregistered DMA channel used nchan=%d dma_pos=%d dma_len=%d\n",
-           nchan, dma_pos, dma_len);
-    return dma_pos;
-}
-
 /* dshift = 0: 8 bit DMA, 1 = 16 bit DMA */
 static void dma_init2(struct dma_cont *d, int base, int dshift,
                       int page_base, int pageh_base)