iommu/amd: Simplify allocation in irq_remapping_alloc()
Allocate the irq data only in the loop.
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
Showing
想要评论请 注册 或 登录
Allocate the irq data only in the loop.
Signed-off-by: NJoerg Roedel <jroedel@suse.de>