Re: [RFC PATCH kernel] powerpc/pci: Get rid of unused @parent pointer in pci_controller

2017-11-05 Thread Alexey Kardashevskiy
On 06/11/17 14:33, Benjamin Herrenschmidt wrote: > On Mon, 2017-11-06 at 14:24 +1100, Alexey Kardashevskiy wrote: >> The @parent pointer is supposed to point to a device which represents >> a PCI controller, however it is never set to anything and remains NULL; >> it is also quite common to pass NU

Re: [RFC PATCH kernel] powerpc/pci: Get rid of unused @parent pointer in pci_controller

2017-11-05 Thread Benjamin Herrenschmidt
On Mon, 2017-11-06 at 14:24 +1100, Alexey Kardashevskiy wrote: > The @parent pointer is supposed to point to a device which represents > a PCI controller, however it is never set to anything and remains NULL; > it is also quite common to pass NULL to pci_create_root_bus(). > > Signed-off-by: Alexe

[RFC PATCH kernel] powerpc/pci: Get rid of unused @parent pointer in pci_controller

2017-11-05 Thread Alexey Kardashevskiy
The @parent pointer is supposed to point to a device which represents a PCI controller, however it is never set to anything and remains NULL; it is also quite common to pass NULL to pci_create_root_bus(). Signed-off-by: Alexey Kardashevskiy --- This @parent is NULL for every PHB in garrison mach