linux-next: build warning after merge of the pci tree

From: Stephen Rothwell
Date: Tue Aug 04 2020 - 21:32:22 EST


Hi all,

After merging the pci tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/pci/controller/pcie-altera.c: In function 'altera_pcie_parse_dt':
drivers/pci/controller/pcie-altera.c:697:17: warning: unused variable 'dev' [-Wunused-variable]
697 | struct device *dev = &pcie->pdev->dev;
| ^~~

Introduced by commit

caecb05c8000 ("PCI: Remove dev_err() when handing an error from platform_get_irq()")

--
Cheers,
Stephen Rothwell

Attachment: pgpFJDyIG_ZfC.pgp
Description: OpenPGP digital signature