diff options
author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2010-04-15 08:19:48 +0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-05-11 23:01:37 +0400 |
commit | 4f7ccf6a6085eefd2517b8c7090608c64b01ab67 (patch) | |
tree | 41d6a5d595bb14cc537333e278f1a3ed4fc19cc4 /drivers/pci/hotplug/sgi_hotplug.c | |
parent | e167bfcaa4cd44b4c66206a3c06b2aafb3f1260e (diff) | |
download | linux-4f7ccf6a6085eefd2517b8c7090608c64b01ab67.tar.xz |
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 <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug/sgi_hotplug.c')
0 files changed, 0 insertions, 0 deletions