iommu/amd: Remove redundant NULL check before dma_ops_domain_free().
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 12 Feb 2013 04:01:50 +0000 (05:01 +0100)
committerJoerg Roedel <joro@8bytes.org>
Wed, 13 Feb 2013 11:10:53 +0000 (12:10 +0100)
commit91457df7733564015f846c501424610318a5b85f
tree0a7a62aeb855bf5728531aa28e2a7bbc916e89ca
parentf528d980c17b8714aedc918ba86e058af914d66b
iommu/amd: Remove redundant NULL check before dma_ops_domain_free().

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@gmail.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu.c