diff options
| author | Maxime Ripard <[email protected]> | 2025-04-07 16:29:07 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2025-04-08 09:48:39 +0000 |
| commit | 92a2bf257ec4729d13ed17f5b04192ad8e3b7024 (patch) | |
| tree | ddf397b50590c3cbd0e329660ed718465cf2a07a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/sysfb: simpledrm: Remove unused helper simpledrm_device_of_dev() (diff) | |
| download | kernel-92a2bf257ec4729d13ed17f5b04192ad8e3b7024.tar.gz kernel-92a2bf257ec4729d13ed17f5b04192ad8e3b7024.zip | |
dma-buf: heaps: system: Remove global variable
The system heap is storing its struct dma_heap pointer in a global
variable but isn't using it anywhere.
Let's move the global variable into system_heap_create() to make it
local.
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
