powerpc/eeh: Remove class code field from edev
authorOliver O'Halloran <oohall@gmail.com>
Sat, 25 Jul 2020 08:12:28 +0000 (18:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:21 +0000 (23:34 +1000)
commit768a42845b9ecdb28ba1991e17088b7eeb23a3eb
tree20e2a32b6fe4b00b160d692ddfe7eceaf3ef3297
parent1a303d8844d082ef58ff5fc3005b99621a3263ba
powerpc/eeh: Remove class code field from edev

The edev->class_code field is never referenced anywhere except for the
platform specific probe functions. The same information is available in
the pci_dev for PowerNV and in the pci_dn on pseries so we can remove
the field.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725081231.39076-11-oohall@gmail.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/platforms/powernv/eeh-powernv.c
arch/powerpc/platforms/pseries/eeh_pseries.c