powerpc/pseries: Stop using pdn->pe_number
authorOliver O'Halloran <oohall@gmail.com>
Sat, 25 Jul 2020 08:12:21 +0000 (18:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:20 +0000 (23:34 +1000)
commitc408ce9075b8e1533f30fd3a113b75fb745f722f
treec6199b67a641dbf00d134566939853bfffe0b330
parentdffa91539e80355402c0716a91af17fc8ddd1abf
powerpc/pseries: Stop using pdn->pe_number

The pci_dn->pe_number field is mainly used to track the IODA PE number of a
device on PowerNV. At some point it grew a user in the pseries SR-IOV
support which muddies the waters a bit, so remove it.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725081231.39076-4-oohall@gmail.com
arch/powerpc/platforms/pseries/eeh_pseries.c