Re: [PATCHv2] dmaengine: bestcomm: ata: drop unused local variable 'inc'

From: Vinod Koul

Date: Thu Sep 10 2026 - 10:24:14 EST



On Tue, 08 Sep 2026 14:33:34 -0700, Rosen Penev wrote:
> bcom_ata_init() declared and assigned a struct bcom_ata_inc *inc that
> was never read, tripping clang -Wunused-but-set-variable:
>
> drivers/dma/bestcomm/ata.c:58:23: error: variable 'inc' set but not
> used [-Werror,-Wunused-but-set-variable]
> 58 | struct bcom_ata_inc *inc;
> | ^
>
> [...]

Applied, thanks!

[1/1] dmaengine: bestcomm: ata: drop unused local variable 'inc'
commit: db1a748a3509da959c547689af40e8a064a19c6b

Best regards,
--
~Vinod