1
0
Fork 0

powerpc/eeh: Remove stale CAPI comment

Support for switching CAPI cards into and out of CAPI mode was removed a
while ago. Drop the comment since it's no longer relevant.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190903101605.2890-7-oohall@gmail.com
alistair/sunxi64-5.4-dsi
Oliver O'Halloran 2019-09-03 20:15:57 +10:00 committed by Michael Ellerman
parent 25baf3d816
commit 5055453335
1 changed files with 0 additions and 7 deletions

View File

@ -1125,13 +1125,6 @@ static int pnv_eeh_reset(struct eeh_pe *pe, int option)
return -EIO;
}
/*
* If dealing with the root bus (or the bus underneath the
* root port), we reset the bus underneath the root port.
*
* The cxl driver depends on this behaviour for bi-modal card
* switching.
*/
if (pci_is_root_bus(bus) ||
pci_is_root_bus(bus->parent))
return pnv_eeh_root_reset(hose, option);