Re: [PATCH 2/5] iommu: remove redundant NULL check beforedma_ops_domain_free().

From: Joerg Roedel
Date: Wed Feb 13 2013 - 06:14:08 EST


On Tue, Feb 12, 2013 at 05:01:50AM +0100, Cyril Roelandt wrote:
> dma_ops_domain_free on a NULL pointer is a no-op, so the NULL check in
> amd_iommu_init_dma_ops() can be removed.
>
> Signed-off-by: Cyril Roelandt <tipecaml@xxxxxxxxx>
> ---
> drivers/iommu/amd_iommu.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Applied to x86/amd, Thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/