iommu/vt-d, trivial: simplify code with existing macros
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 6 Jan 2014 06:18:18 +0000 (14:18 +0800)
committerJoerg Roedel <joro@8bytes.org>
Thu, 9 Jan 2014 11:43:37 +0000 (12:43 +0100)
Simplify vt-d related code with existing macros and introduce a new
macro for_each_active_drhd_unit() to enumerate all active DRHD unit.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>

No differences found