From: Hidetoshi Seto Date: Thu, 15 Apr 2010 04:19:48 +0000 (+0900) Subject: PCI: aerdrv: remove is_downstream X-Git-Tag: v2.6.35-rc1~433^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f7ccf6a6085eefd2517b8c7090608c64b01ab67;p=pandora-kernel.git PCI: aerdrv: remove is_downstream The pcie->port of port service device points the port associated the service with. The find_aer_service iterates over children of given port udev. So it is clear that the pcie->port of port service of given port udev must always point the udev. Therefore we can know the type of udev without checking its children. Signed-off-by: Hidetoshi Seto Reviewed-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed