Re: [PATCH v2] dmaengine: ptdma: Remove unused pointer dma_cmd_cache

From: Vinod Koul
Date: Thu Apr 17 2025 - 11:20:02 EST



On Tue, 15 Apr 2025 14:13:12 +0200, Eder Zulian wrote:
> The pointer 'struct kmem_cache *dma_cmd_cache' was introduced in commit
> 'b0b4a6b10577 ("dmaengine: ptdma: register PTDMA controller as a DMA
> resource")' but it was never used.
>
> Changes since v1:
> - Remove the 'err_cache' label and return -ENOMEM directly instead of
> assigning -ENOMEM to 'ret' and jumping to the label, since there
> are no unmanaged allocations to unwind. Based on suggestion from
> Nathan Lynch.
> - Fix checkpatch.pl error: ERROR: Please use git commit description style
> 'commit <12+ chars of sha1> ("<title line>")'
>
> [...]

Applied, thanks!

[1/1] dmaengine: ptdma: Remove unused pointer dma_cmd_cache
commit: f087965ab4aaca653d19ea3909b42e7ef2b64ba0

Best regards,
--
~Vinod