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

From: Stephen Rothwell
Date: Tue Sep 08 2020 - 22:37:19 EST


Hi all,

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

drivers/pci/controller/dwc/pci-dra7xx.c: In function 'dra7xx_pcie_establish_link':
drivers/pci/controller/dwc/pci-dra7xx.c:142:6: warning: unused variable 'exp_cap_off' [-Wunused-variable]
142 | u32 exp_cap_off = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP);
| ^~~~~~~~~~~

Introduced by commit

3af45d34d30c ("PCI: dwc: Centralize link gen setting")

--
Cheers,
Stephen Rothwell

Attachment: pgp581dZiT_UX.pgp
Description: OpenPGP digital signature