summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/i810_dma.c2
-rw-r--r--linux/i810_dma.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 8042b7fc..ab5e5514 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -830,8 +830,8 @@ static void i810_dma_dispatch_vertex(drm_device_t *dev,
static void i810_dma_dispatch_flip( drm_device_t *dev )
{
drm_i810_private_t *dev_priv = dev->dev_private;
- RING_LOCALS;
int pitch = dev_priv->pitch;
+ RING_LOCALS;
DRM_DEBUG( "%s: page=%d pfCurrentPage=%d\n",
__FUNCTION__,
diff --git a/linux/i810_dma.c b/linux/i810_dma.c
index 8042b7fc..ab5e5514 100644
--- a/linux/i810_dma.c
+++ b/linux/i810_dma.c
@@ -830,8 +830,8 @@ static void i810_dma_dispatch_vertex(drm_device_t *dev,
static void i810_dma_dispatch_flip( drm_device_t *dev )
{
drm_i810_private_t *dev_priv = dev->dev_private;
- RING_LOCALS;
int pitch = dev_priv->pitch;
+ RING_LOCALS;
DRM_DEBUG( "%s: page=%d pfCurrentPage=%d\n",
__FUNCTION__,