[PATCH kernel] powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn

Russell Currey ruscur at russell.cc
Wed Nov 22 15:26:29 AEDT 2017


On Mon, 2017-10-23 at 19:07 +1100, Alexey Kardashevskiy wrote:
> The pcidev value stored in pci_dn is only used for NPU/NPU2
> initialization. We can easily drop the cached pointer and
> use an ancient helper - pci_get_domain_bus_and_slot() instead in
> order
> to reduce complexity.
> 
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>

My bad, must have missed this one.  Thanks for the cleanup.

s/idoa/ioda in the title.

Acked-by: Russell Currey <ruscur at russell.cc>


More information about the Linuxppc-dev mailing list