[PATCH] nvme-pci: remove redundant dma frees in hmb
Keith Busch
kbusch at kernel.org
Fri Jan 17 11:22:56 PST 2025
On Fri, Jan 17, 2025 at 05:12:09AM +0530, francis.p at samsung.com wrote:
> From: Francis Pravin <francis.p at samsung.com>
>
> The value of size is 0 when there is no dma buffer allocated. The value
> of i also remains 0. So, no need to free the dma buffer in out_free_bufs.
> Hence, remove the redundant dma frees.
THanks, applied to nvme-6.14.
More information about the Linux-nvme
mailing list