diff options
author | Niklas Schnelle <[email protected]> | 2020-08-21 11:01:54 +0200 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2020-09-14 11:38:34 +0200 |
commit | 809fcfaf9238052f03e8002f6dad156a7fb6cd5e (patch) | |
tree | 411dc902eb3986471bb9af7c2f450e738b1a5765 /arch/s390/pci/pci_event.c | |
parent | 2bce60b5032fe3ca225a36b80f6df90938f0ead6 (diff) |
s390/pci: remove clp_rescan_pci_devices()
there is only one call site of clp_rescan_pci_devices() and
all the function does is call zpci_remove_reserved_devices()
followed by a duplicating clp_scan_pci_devices().
So inline the single call as a call to zpci_remove_reserved_devices()
and clp_scan_pci_devices() and remove the function.
Reviewed-by: Matthew Rosato <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'arch/s390/pci/pci_event.c')
-rw-r--r-- | arch/s390/pci/pci_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/pci/pci_event.c b/arch/s390/pci/pci_event.c index 9a3a291cad43..e67cc2f6e169 100644 --- a/arch/s390/pci/pci_event.c +++ b/arch/s390/pci/pci_event.c @@ -150,7 +150,8 @@ static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) } break; case 0x0306: /* 0x308 or 0x302 for multiple devices */ - clp_rescan_pci_devices(); + zpci_remove_reserved_devices(); + clp_scan_pci_devices(); break; case 0x0308: /* Standby -> Reserved */ if (!zdev) |