commit | f4133236d6473072b5982c1182991eade6ff5bae | [log] [tgz] |
---|---|---|
author | Nishanth Aravamudan <nacc@us.ibm.com> | Tue Oct 26 17:35:14 2010 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Dec 09 15:17:50 2010 +1100 |
tree | fda913b77f0a4567c122d1721d63a1232088f53a | |
parent | 7372cfb88f71ed975c8588d1ca5ecc8bb9ec7c7b [diff] |
powerpc/pseries: Checking for pdn->parent is redundant The device tree root is never a pci bus, and will not have a PCI_DN(pdn), so the check for PCI_DN added in 650f7b3b2f0ead0673e90452cf3dedde97c537ba makes the check for pdn->parent redundant and it can be removed. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>