mirror of https://github.com/xqemu/xqemu.git
hw/omap_dma: add matching {} in if 0
MULTI_REQ is never defined, so it doesn't matter much, but since we have an if statement there, let's add {} to clarify what it should do if it's uncommented, and indent the code properly. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
a628b869be
commit
317b7e67db
|
@ -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 */
|
||||
|
@ -670,6 +670,8 @@ static void omap_dma_transfer_setup(struct soc_dma_ch_s *dma)
|
|||
* bits on it. */
|
||||
#ifndef MULTI_REQ
|
||||
}
|
||||
#else
|
||||
}
|
||||
#endif
|
||||
|
||||
omap_dma_interrupts_update(s);
|
||||
|
|
Loading…
Reference in New Issue