powerpc/eeh: Remove stale CAPI comment
authorOliver O'Halloran <oohall@gmail.com>
Tue, 3 Sep 2019 10:15:57 +0000 (20:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Sep 2019 04:22:38 +0000 (14:22 +1000)
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
arch/powerpc/platforms/powernv/eeh-powernv.c

index e7b8679..94e26d5 100644 (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);