From: Suman Anna Date: Wed, 22 Oct 2014 22:22:26 +0000 (-0500) Subject: iommu/omap: Simplify omap2_iommu_fault_isr() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~103^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124262a2eecc4c3e6e96e083e50ce4909b2d69d9;p=pandora-kernel.git iommu/omap: Simplify omap2_iommu_fault_isr() The function omap2_iommu_fault_isr() does an unnecessary recomputation of the return value. The logic relies on setting the same bit fields as the MMU fault error status bits, so simplify this function and remove the unneeded macros. These macros were originally exported to notify MMU faults to users prior to the IOMMU framework adaptation, but are now redundant. Signed-off-by: Suman Anna Acked-by: Laurent Pinchart Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed