diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-07-31 16:47:02 +0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-08-14 14:57:29 +1000 |
commit | 2f1ec02ea162ad18556c35a00c6220fc613f26ce (patch) | |
tree | bc43d50e7a8ab630302a3f3eb4dc4976b18132ba /arch/powerpc/net | |
parent | f1b7cc3ec1ed9fe684872b248b166280650c4976 (diff) | |
download | blackbird-op-linux-2f1ec02ea162ad18556c35a00c6220fc613f26ce.tar.gz blackbird-op-linux-2f1ec02ea162ad18556c35a00c6220fc613f26ce.zip |
powerpc/powernv: Check primary PHB through ID
The index of one specific PCI controller (struct pci_controller::
global_number) can tell that it's primary one or not. So we needn't
additional variable for that and just remove it.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/net')
0 files changed, 0 insertions, 0 deletions