From: Nishanth Aravamudan Date: Tue, 26 Oct 2010 17:35:14 +0000 (+0000) Subject: powerpc/pseries: Checking for pdn->parent is redundant X-Git-Tag: v2.6.38-rc1~405^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4133236d6473072b5982c1182991eade6ff5bae;p=pandora-kernel.git 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 Signed-off-by: Nishanth Aravamudan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed