diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2017-08-29 09:34:01 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-31 06:26:09 +0200 |
commit | 69672bd7489f8a995e9cb89655dc1dcee555dadb (patch) | |
tree | 5c2ed1a3ab22c08fa6ae539a60cb408a56bfa95d /arch/powerpc/include | |
parent | powerpc/eeh: Reduce to one the number of places where edev is allocated (diff) | |
download | linux-69672bd7489f8a995e9cb89655dc1dcee555dadb.tar.xz linux-69672bd7489f8a995e9cb89655dc1dcee555dadb.zip |
powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev
The eeh_dev struct already holds a pointer to pci_dn which it does not
exist without and pci_dn itself holds the very same pointer so just
use it.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-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 26a6a43f8799..777d37aa0a7f 100644 --- a/arch/powerpc/include/asm/eeh.h +++ b/arch/powerpc/include/asm/eeh.h @@ -141,7 +141,6 @@ struct eeh_dev { struct eeh_pe *pe; /* Associated PE */ struct list_head list; /* Form link list in the PE */ struct list_head rmv_list; /* Record the removed edevs */ - struct pci_controller *phb; /* Associated PHB */ struct pci_dn *pdn; /* Associated PCI device node */ struct pci_dev *pdev; /* Associated PCI device */ bool in_error; /* Error flag for edev */ |