[PATCH] drm/radeon: remove unused variable rbo

2023-05-25 Thread Tom Rix
gcc with W=1 reports drivers/gpu/drm/radeon/radeon_ttm.c:200:27: error: variable ‘rbo’ set but not used [-Werror=unused-but-set-variable] 200 | struct radeon_bo *rbo; | ^~~ This variable is not used so remove it. Signed-off-by: Tom Rix --- drivers/gpu/

[PATCH] drm/radeon: remove unused variable rbo

2023-03-14 Thread Tom Rix
gcc with W=1 reports this error drivers/gpu/drm/radeon/radeon_ttm.c:201:27: error: variable ‘rbo’ set but not used [-Werror=unused-but-set-variable] 201 | struct radeon_bo *rbo; | ^~~ rbo use was removed with commit f87c1f0b7b79 ("drm/ttm: prevent moving

Re: [PATCH] drm/radeon: remove unused variable rbo

2023-03-14 Thread Christian König
Am 14.03.23 um 14:06 schrieb Tom Rix: gcc with W=1 reports this error drivers/gpu/drm/radeon/radeon_ttm.c:201:27: error: variable ‘rbo’ set but not used [-Werror=unused-but-set-variable] 201 | struct radeon_bo *rbo; | ^~~ rbo use was removed with co