[PATCH 4/7] ARM: remove the unused virt_to_dma helper

Christoph Hellwig hch at lst.de
Thu Apr 21 07:11:08 PDT 2022


On Thu, Apr 21, 2022 at 10:00:55AM +0200, Arnd Bergmann wrote:
> I think __virt_to_bus() is now unused as well and could be removed
> in the same step.

Yes.

> It looks like __bus_to_virt() is still used in the ISA DMA API, but
> as that is only used on footbridge and rpc, the generic version of
> that could be moved into rpc (footbridge already has a custom
> version).

That sounds like a useful cleanup, but isn't really in scope for
this series.



More information about the linux-arm-kernel mailing list