]> Pileus Git - ~andy/linux/commit
iommu/vt-d: Use list_for_each_entry_safe() for dmar_domain->devices traversal
authorYijing Wang <wangyijing@huawei.com>
Thu, 31 Oct 2013 09:26:04 +0000 (17:26 +0800)
committerJoerg Roedel <joro@8bytes.org>
Fri, 1 Nov 2013 13:18:48 +0000 (14:18 +0100)
commitbca2b916f3d5c5bcb3d9d38fc1e4cb4d83b1d8a8
tree7e117edf5ad3b985d486ff13253f56b79e10de9c
parent8b161f0ee911369232b5b5c18f84b5072f5bd09e
iommu/vt-d: Use list_for_each_entry_safe() for dmar_domain->devices traversal

Replace list_for_each_safe() + list_entry() with the simpler
list_for_each_entry_safe().

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel-iommu.c