amdgpu: remove va::dev member
This is unused so drop it. Reviewed-by: Marek Olšák <marek.olsak@amd.com>main
parent
d1681af054
commit
466e3c0c24
|
@ -57,7 +57,6 @@ struct amdgpu_bo_va_mgr {
|
|||
};
|
||||
|
||||
struct amdgpu_va {
|
||||
amdgpu_device_handle dev;
|
||||
uint64_t address;
|
||||
uint64_t size;
|
||||
enum amdgpu_gpu_va_range range;
|
||||
|
|
|
@ -274,7 +274,6 @@ drm_public int amdgpu_va_range_alloc(amdgpu_device_handle dev,
|
|||
amdgpu_vamgr_free_va(vamgr, *va_base_allocated, size);
|
||||
return -ENOMEM;
|
||||
}
|
||||
va->dev = dev;
|
||||
va->address = *va_base_allocated;
|
||||
va->size = size;
|
||||
va->range = va_range_type;
|
||||
|
|
Loading…
Reference in New Issue