summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-04 18:52:42 -0700
committerJiri Kosina <jkosina@suse.cz>2010-09-23 13:35:26 +0200
commit40b3be3fcaf8e0d8f7d8cee266dc4af3251d814b (patch)
treed19f7e64d7e1803d3c22f03c480cad3888861456 /drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
parent99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4 (diff)
downloadblackbird-op-linux-40b3be3fcaf8e0d8f7d8cee266dc4af3251d814b.tar.gz
blackbird-op-linux-40b3be3fcaf8e0d8f7d8cee266dc4af3251d814b.zip
drivers/gpu/drm: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c b/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
index e6a1eb7ea954..dc043c3d5324 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
@@ -542,7 +542,7 @@ int vmw_fifo_mmap(struct file *filp, struct vm_area_struct *vma)
struct drm_file *file_priv;
struct vmw_private *dev_priv;
- file_priv = (struct drm_file *)filp->private_data;
+ file_priv = filp->private_data;
dev_priv = vmw_priv(file_priv->minor->dev);
if (vma->vm_pgoff != (dev_priv->mmio_start >> PAGE_SHIFT) ||
OpenPOWER on IntegriCloud