summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600.c
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2023-05-17 04:52:19 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 16:40:55 +0200
commit6091ede913015fd3c07cb16298505bbd71f41689 (patch)
tree7f54e100bc9bc8e8bc2a8f2be8568893299458ad /drivers/gpu/drm/radeon/r600.c
parentdrm:amd:amdgpu: Fix missing buffer object unlock in failure path (diff)
downloadlinux-6091ede913015fd3c07cb16298505bbd71f41689.tar.xz
linux-6091ede913015fd3c07cb16298505bbd71f41689.zip
drm/radeon: Remove unnecessary (void*) conversions
No need cast (void*) to (struct radeon_device *) or (struct radeon_ring *). Signed-off-by: Su Hui <suhui@nfschina.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r--drivers/gpu/drm/radeon/r600.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index dd78fc499402..382795a8b3c0 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -4345,7 +4345,7 @@ restart_ih:
static int r600_debugfs_mc_info_show(struct seq_file *m, void *unused)
{
- struct radeon_device *rdev = (struct radeon_device *)m->private;
+ struct radeon_device *rdev = m->private;
DREG32_SYS(m, rdev, R_000E50_SRBM_STATUS);
DREG32_SYS(m, rdev, VM_L2_STATUS);