drm/amdgpu: Remove unused variable
authorNirmoy Das <nirmoy.das@amd.com>
Tue, 12 Jan 2021 17:46:33 +0000 (18:46 +0100)
committerChristian König <christian.koenig@amd.com>
Fri, 15 Jan 2021 12:00:57 +0000 (13:00 +0100)
commit0d7ab835463eb41265c18184a4867a1e9f0864da
tree0352c79151ee98001fb53afe8f870855c21af365
parent1355a484ef2ab5d4390c99048ec9f6901950a12b
drm/amdgpu: Remove unused variable

Remove unused space_needed variable.

Fixes: 453f617a30aa ("drm/amdgpu: Resize BAR0 to the maximum available size, even if it doesn't cover VRAM")
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/413807/
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c