iommu/vt-d: Fix a variable set but not used
authorQian Cai <cai@lca.pw>
Fri, 31 May 2019 20:16:02 +0000 (16:16 -0400)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Jun 2019 09:55:58 +0000 (11:55 +0200)
commite314a7c92b3217e893cbe03b944c7afc9cbd3e4c
tree9274137e4840fa31c565bf47c24021ce8828f77f
parentf34e1176df34b87e88eb65cd730255c913f92f8c
iommu/vt-d: Fix a variable set but not used

The commit "iommu/vt-d: Delegate the dma domain to upper layer" left an
unused variable,

drivers/iommu/intel-iommu.c: In function 'disable_dmar_iommu':
drivers/iommu/intel-iommu.c:1652:23: warning: variable 'domain' set but
not used [-Wunused-but-set-variable]

Signed-off-by: Qian Cai <cai@lca.pw>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c