diff options
author | Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> | 2010-04-15 06:19:48 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-05-11 21:01:37 +0200 |
commit | 4f7ccf6a6085eefd2517b8c7090608c64b01ab67 (patch) | |
tree | 41d6a5d595bb14cc537333e278f1a3ed4fc19cc4 /drivers/video/ffb.c | |
parent | PCI: aerdrv: remove magical ROOT_ERR_STATUS_MASKS (diff) | |
download | linux-4f7ccf6a6085eefd2517b8c7090608c64b01ab67.tar.xz linux-4f7ccf6a6085eefd2517b8c7090608c64b01ab67.zip |
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/video/ffb.c')
0 files changed, 0 insertions, 0 deletions