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

From: Stephen Rothwell
Date: Tue Sep 01 2020 - 21:08:02 EST


Hi all,

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

drivers/pci/pci-driver.c: In function 'pci_pm_thaw_noirq':
drivers/pci/pci-driver.c:1037:6: warning: unused variable 'error' [-Wunused-variable]
1037 | int error;
| ^~~~~
drivers/pci/pci-driver.c: In function 'pci_pm_restore_noirq':
drivers/pci/pci-driver.c:1169:6: warning: unused variable 'error' [-Wunused-variable]
1169 | int error;
| ^~~~~

Introduced by commit

89a8561c63d3 ("PCI: Remove unused pcibios_pm_ops")

--
Cheers,
Stephen Rothwell

Attachment: pgpwEpRtSCj_z.pgp
Description: OpenPGP digital signature