diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2020-07-25 10:12:28 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 15:34:21 +0200 |
commit | 768a42845b9ecdb28ba1991e17088b7eeb23a3eb (patch) | |
tree | 20e2a32b6fe4b00b160d692ddfe7eceaf3ef3297 /arch/powerpc/include/asm/eeh.h | |
parent | powerpc/eeh: Remove spurious use of pci_dn in eeh_dump_dev_log (diff) | |
download | linux-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.h | 1 |
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 */ |