summaryrefslogtreecommitdiff
path: root/linux-core/drm_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2004-09-05 10:54:59 +0000
committerDave Airlie <airlied@linux.ie>2004-09-05 10:54:59 +0000
commiteeae6a0a3885f9af9efba7c1e1bcb1e633635717 (patch)
treeca92f0395e3745cb78c752c93968d175ca0b5e38 /linux-core/drm_dma.c
parentf96e00595dff85e18697205686f568042e0b083b (diff)
merge back bunch of whitespace and misc changes from kernel
Diffstat (limited to 'linux-core/drm_dma.c')
-rw-r--r--linux-core/drm_dma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux-core/drm_dma.c b/linux-core/drm_dma.c
index 05a5936a..5cbdc931 100644
--- a/linux-core/drm_dma.c
+++ b/linux-core/drm_dma.c
@@ -35,7 +35,6 @@
#include "drmP.h"
-
/**
* Initialize the DMA data.
*
@@ -107,7 +106,6 @@ void DRM(dma_takedown)(drm_device_t *dev)
dma->bufs[i].buf_count *
sizeof(*dma->bufs[0].buflist),
DRM_MEM_BUFS);
-
}
}
@@ -144,7 +142,7 @@ void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf)
buf->filp = NULL;
buf->used = 0;
- if ( drm_core_check_feature(dev, DRIVER_DMA_QUEUE) && waitqueue_active(&buf->dma_wait)) {
+ if (drm_core_check_feature(dev, DRIVER_DMA_QUEUE) && waitqueue_active(&buf->dma_wait)) {
wake_up_interruptible(&buf->dma_wait);
}
}