[PATCH 01/10] dmapool: remove checks for dev == NULL

2022-05-31 Thread Tony Battersby
dmapool originally tried to support pools without a device because dma_alloc_coherent() supports allocations without a device. But nobody ended up using dma pools without a device, so the current checks in dmapool.c for pool->dev == NULL are both insufficient and causing bloat. Remove them. Signe

Re: [PATCH 01/10] dmapool: remove checks for dev == NULL

2022-05-31 Thread Robin Murphy
On 2022-05-31 19:12, Tony Battersby wrote: dmapool originally tried to support pools without a device because dma_alloc_coherent() supports allocations without a device. But nobody ended up using dma pools without a device, so the current checks in dmapool.c for pool->dev == NULL are both insuff