[PATCH 2/4] dma-pool: Get rid of dma_in_atomic_pool()

David Rientjes rientjes at google.com
Thu Jul 9 17:51:13 EDT 2020


On Thu, 9 Jul 2020, Nicolas Saenz Julienne wrote:

> The function is only used once and can be simplified to a one-liner.
> 
> Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>

I'll leave this one to Christoph to decide on.  One thing I really liked 
about hacking around in kernel/dma is the coding style, it really follows 
"one function does one thing and does it well" even if there is only one 
caller.  dma_in_atomic_pool() was an attempt to follow in those footsteps.



More information about the linux-rpi-kernel mailing list