summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/i915_dma.c')
-rw-r--r--sys/dev/pci/drm/i915_dma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c
index bf6694256f0..4e79f63ea4e 100644
--- a/sys/dev/pci/drm/i915_dma.c
+++ b/sys/dev/pci/drm/i915_dma.c
@@ -117,7 +117,6 @@ static int i915_initialize(struct drm_device * dev, drm_i915_init_t * init)
}
dev_priv->ring.size = init->ring_size;
- dev_priv->ring.tail_mask = dev_priv->ring.size - 1;
if ((ret = bus_space_map(dev_priv->bst, init->ring_start,
init->ring_size, 0, &dev_priv->ring.bsh)) != 0) {