diff options
| author | YueHaibing <[email protected]> | 2019-03-20 12:59:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-03-20 23:39:49 -0500 |
| commit | 5bbfcebb6d1bf322b5902e3c4b6b42a1f679fec3 (patch) | |
| tree | f5a7748874a2c983c7e285b41697d08e918908dc /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | 54087768dbd6bd28ba951654a22f6db21dd50e8b (diff) | |
drm/ttm: remove set but not used variable 'rdev'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_move_vram_ram':
drivers/gpu/drm/radeon/radeon_ttm.c:254:24: warning:
variable 'rdev' set but not used [-Wunused-but-set-variable]
drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_move_ram_vram':
drivers/gpu/drm/radeon/radeon_ttm.c:301:24: warning:
variable 'rdev' set but not used [-Wunused-but-set-variable]
It's not used since a987fcaa805f ("ttm: Make parts of a struct ttm_bo_device
global.")
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions