Files
linux/drivers/dma-buf/heaps
Maxime Ripard 92a2bf257e 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]>
2025-04-08 11:48:39 +02:00
..