Mattias Nissler 2d0a071e62 mac_dbdma: Remove leftover dma_memory_unmap calls
These were passing a NULL buffer pointer unconditionally, which happens
to behave in a mostly benign way (except for the chance of an excess
memory region unref and a bounce buffer leak). Per the function comment,
this was never meant to be accepted though, and triggers an assertion
with the "softmmu: Support concurrent bounce buffers" change.

Given that the code in question never sets up any mappings, just remove
the unnecessary dma_memory_unmap calls along with the DBDMA_io struct
fields that are now entirely unused.

Signed-off-by: Mattias Nissler <mnissler@rivosinc.com>
Message-Id: <20240916175708.1829059-1-mnissler@rivosinc.com>
Fixes: be1e343995 ("macio: switch over to new byte-aligned DMA helpers")
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2024-09-18 09:31:56 +01:00
..
2024-07-21 07:46:38 +02:00
2024-07-21 14:42:58 -04:00
2024-04-30 16:02:43 +01:00
2024-09-05 13:12:36 +01:00
2024-01-30 21:20:20 +03:00
2024-01-05 16:20:15 +01:00
2024-07-16 20:26:47 +02:00
2024-07-26 09:21:06 +10:00
2023-01-08 01:54:22 -05:00
2024-06-16 21:08:54 +02:00
2023-03-20 12:43:50 +01:00
2024-02-27 09:37:21 +01:00