summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/eeh.h
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-07-25 10:12:28 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-26 15:34:21 +0200
commit768a42845b9ecdb28ba1991e17088b7eeb23a3eb (patch)
tree20e2a32b6fe4b00b160d692ddfe7eceaf3ef3297 /arch/powerpc/include/asm/eeh.h
parentpowerpc/eeh: Remove spurious use of pci_dn in eeh_dump_dev_log (diff)
downloadlinux-768a42845b9ecdb28ba1991e17088b7eeb23a3eb.tar.xz
linux-768a42845b9ecdb28ba1991e17088b7eeb23a3eb.zip
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
Diffstat (limited to 'arch/powerpc/include/asm/eeh.h')
-rw-r--r--arch/powerpc/include/asm/eeh.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/eeh.h b/arch/powerpc/include/asm/eeh.h
index f8ef27f75c37..79de8624809a 100644
--- a/arch/powerpc/include/asm/eeh.h
+++ b/arch/powerpc/include/asm/eeh.h
@@ -133,7 +133,6 @@ static inline bool eeh_pe_passed(struct eeh_pe *pe)
struct eeh_dev {
int mode; /* EEH mode */
- int class_code; /* Class code of the device */
int bdfn; /* bdfn of device (for cfg ops) */
struct pci_controller *controller;
int pe_config_addr; /* PE config address */