From: Nishanth Aravamudan Date: Tue, 26 Oct 2010 17:35:15 +0000 (+0000) Subject: powerpc/pseries: Do not need to check for dma_window == NULL X-Git-Tag: v2.6.38-rc1~405^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4af2da25ede8af6536254e92b6ed5c4026105870;p=pandora-kernel.git 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 Signed-off-by: Nishanth Aravamudan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed