summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/pci.h
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2020-08-21 11:26:40 +0300
committerVasily Gorbik <gor@linux.ibm.com>2020-09-14 12:38:34 +0300
commit2bce60b5032fe3ca225a36b80f6df90938f0ead6 (patch)
treee3bdbaeb9c52932a9c3cdd6854b6c5224e1b4901 /arch/s390/include/asm/pci.h
parentabb95b7550f88bfb77081601f80662a259f2d143 (diff)
downloadlinux-2bce60b5032fe3ca225a36b80f6df90938f0ead6.tar.xz
s390/pci: remove unused function zpci_rescan()
the only caller of this was removed as part of the suspend/resume removal so no need to keep this function around. Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci.h')
-rw-r--r--arch/s390/include/asm/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/pci.h b/arch/s390/include/asm/pci.h
index 8015b9301533..140cb6bc8e1c 100644
--- a/arch/s390/include/asm/pci.h
+++ b/arch/s390/include/asm/pci.h
@@ -233,12 +233,10 @@ static inline bool zpci_use_mio(struct zpci_dev *zdev)
/* Error handling and recovery */
void zpci_event_error(void *);
void zpci_event_availability(void *);
-void zpci_rescan(void);
bool zpci_is_enabled(void);
#else /* CONFIG_PCI */
static inline void zpci_event_error(void *e) {}
static inline void zpci_event_availability(void *e) {}
-static inline void zpci_rescan(void) {}
#endif /* CONFIG_PCI */
#ifdef CONFIG_HOTPLUG_PCI_S390