qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 05/13] omap_dma: fix unbalanced { in commented out c


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 05/13] omap_dma: fix unbalanced { in commented out code
Date: Wed, 30 Sep 2009 19:44:03 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

Fix unbalanced {} in commented out code.

Signed-off-by: Michael S. Tsirkin <address@hidden>
---
 hw/omap_dma.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/hw/omap_dma.c b/hw/omap_dma.c
index 6f5eaca..205d010 100644
--- a/hw/omap_dma.c
+++ b/hw/omap_dma.c
@@ -588,7 +588,7 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s 
*dma)
 #ifdef MULTI_REQ
     /* TODO: should all of this only be done if dma->update, and otherwise
      * inside omap_dma_transfer_generic below - check what's faster.  */
-    if (dma->update) {
+    if (dma->update)
 #endif
 
     /* If the channel is element synchronized, deactivate it */
@@ -668,7 +668,9 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s 
*dma)
 
         /* TODO: if the destination port is IMIF or EMIFF, set the dirty
          * bits on it.  */
+#ifndef MULTI_REQ
     }
+#endif
 
     omap_dma_interrupts_update(s);
 }
-- 
1.6.5.rc2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]