From: Joerg Roedel Date: Thu, 13 Aug 2015 09:07:25 +0000 (+0200) Subject: iommu/amd: Simplify allocation in irq_remapping_alloc() X-Git-Tag: omap-for-v4.3/fixes-rc1~57^2^7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a130e69f28ba1d180242b581a15d09f06dad9227;p=pandora-kernel.git iommu/amd: Simplify allocation in irq_remapping_alloc() Allocate the irq data only in the loop. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed