Commit 50554533 authored by Oliver O'Halloran's avatar Oliver O'Halloran Committed by Michael Ellerman

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: default avatarOliver O'Halloran <oohall@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190903101605.2890-7-oohall@gmail.com
parent 25baf3d8
...@@ -1125,13 +1125,6 @@ static int pnv_eeh_reset(struct eeh_pe *pe, int option) ...@@ -1125,13 +1125,6 @@ static int pnv_eeh_reset(struct eeh_pe *pe, int option)
return -EIO; 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) || if (pci_is_root_bus(bus) ||
pci_is_root_bus(bus->parent)) pci_is_root_bus(bus->parent))
return pnv_eeh_root_reset(hose, option); return pnv_eeh_root_reset(hose, option);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment