summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r600.c
diff options
context:
space:
mode:
authorSu Hui <suhui@nfschina.com>2023-05-17 10:52:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 10:40:55 -0400
commit6091ede913015fd3c07cb16298505bbd71f41689 (patch)
tree7f54e100bc9bc8e8bc2a8f2be8568893299458ad /drivers/gpu/drm/radeon/r600.c
parent1385d88c6aa774332f1a88562b6f1bf04de6d710 (diff)
downloadlinux-stable-6091ede913015fd3c07cb16298505bbd71f41689.tar.gz
linux-stable-6091ede913015fd3c07cb16298505bbd71f41689.tar.bz2
linux-stable-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);