There are several instances of 'typedef struct DMAContext DMAContext'. Remove 
them
all except for the one in qemu-common.h.

Signed-off-by: Jason Baron <jba...@redhat.com>
---
 dma.h |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dma.h b/dma.h
index 0d57e50..862373d 100644
--- a/dma.h
+++ b/dma.h
@@ -15,7 +15,6 @@
 #include "block.h"
 #include "kvm.h"
 
-typedef struct DMAContext DMAContext;
 typedef struct ScatterGatherEntry ScatterGatherEntry;
 
 typedef enum {
@@ -65,11 +64,11 @@ typedef void DMAUnmapFunc(DMAContext *dma,
                           DMADirection dir,
                           dma_addr_t access_len);
 
-typedef struct DMAContext {
+struct DMAContext {
     DMATranslateFunc *translate;
     DMAMapFunc *map;
     DMAUnmapFunc *unmap;
-} DMAContext;
+};
 
 static inline void dma_barrier(DMAContext *dma, DMADirection dir)
 {
-- 
1.7.1


Reply via email to