diff options
author | Joe Perches <joe@perches.com> | 2010-09-04 18:52:42 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-09-23 13:35:26 +0200 |
commit | 40b3be3fcaf8e0d8f7d8cee266dc4af3251d814b (patch) | |
tree | d19f7e64d7e1803d3c22f03c480cad3888861456 /drivers/gpu/drm/radeon/radeon_ttm.c | |
parent | 99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4 (diff) | |
download | blackbird-obmc-linux-40b3be3fcaf8e0d8f7d8cee266dc4af3251d814b.tar.gz blackbird-obmc-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/radeon/radeon_ttm.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 84c53e41a88f..a823d8fe54c2 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c @@ -631,7 +631,7 @@ int radeon_mmap(struct file *filp, struct vm_area_struct *vma) return drm_mmap(filp, vma); } - file_priv = (struct drm_file *)filp->private_data; + file_priv = filp->private_data; rdev = file_priv->minor->dev->dev_private; if (rdev == NULL) { return -EINVAL; |