[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.23.453.2007091449540.972523@chino.kir.corp.google.com>
Date: Thu, 9 Jul 2020 14:51:13 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
cc: hch@....de, Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux-foundation.org,
Marek Szyprowski <m.szyprowski@...sung.com>,
linux-rpi-kernel@...ts.infradead.org, jeremy.linton@....com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] dma-pool: Get rid of dma_in_atomic_pool()
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@...e.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.
Powered by blists - more mailing lists