Re: [PATCH v2] PCI: rcar-host: Remove unused LIST_HEAD(res)
From: Manivannan Sadhasivam
Date: Wed Jun 10 2026 - 12:47:29 EST
On Thu, 21 May 2026 10:12:56 +0100, Prabhakar wrote:
> Remove the unused LIST_HEAD(res) declaration from rcar_pcie_hw_enable().
>
> The macro instantiation defines an unused 'struct list_head res' variable,
> which conflicts with a valid resource loop-local 'struct resource *res'
> declaration further down in the function, triggering a compiler variable
> shadowing warning:
>
> [...]
Applied, thanks!
[1/1] PCI: rcar-host: Remove unused LIST_HEAD(res)
commit: 6ba90ce2069ae923b0ec787aebdf2d786e5d2a58
Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>