On Wed, 21 May 2025 18:29:48 +0200, Arnd Bergmann wrote: > This variable is only used when CONFIG_OF is enabled: > > drivers/pci/controller/pcie-altera.c: In function 'altera_pcie_init_irq_domain': > drivers/pci/controller/pcie-altera.c:855:29: error: unused variable 'node' [-Werror=unused-variable] > 855 | struct device_node *node = dev->of_node; > > Use dev_fwnode() in place of of_node_to_fwnode() to avoid this. > > [...] Applied, thanks! [1/1] pci: altera: remove unused 'node' variable commit: 693594d0e5d8d236fc4172c864afdcbe6993a2bd Best regards, -- Manivannan Sadhasivam <mani@xxxxxxxxxx>