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

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jan 29 15:13:46 AEDT 2018


On Mon, 2017-10-23 at 08:07:02 UTC, 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>
> Acked-by: Russell Currey <ruscur at russell.cc>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/902bdc57451c2c64aa139bbe24067f

cheers


More information about the Linuxppc-dev mailing list