diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2010-10-26 17:35:15 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-12-09 15:17:50 +1100 |
commit | 4af2da25ede8af6536254e92b6ed5c4026105870 (patch) | |
tree | 6efc431b2a3cc64dd7d53e077a314d4a68d6892e /usr | |
parent | f4133236d6473072b5982c1182991eade6ff5bae (diff) | |
download | linux-4af2da25ede8af6536254e92b6ed5c4026105870.tar.gz linux-4af2da25ede8af6536254e92b6ed5c4026105870.tar.bz2 linux-4af2da25ede8af6536254e92b6ed5c4026105870.zip |
powerpc/pseries: Do not need to check for dma_window == NULL
The block in pci_dma_dev_setup_pSeriesLP for dma_window == NULL can be
removed because we will only teminate the loop if we had already allocated
a iommu table for that node or we found a window. While there may be
no window for the device, the intresting part is if we are reusing a
table or creating it for the first device under it.
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions