Re: [PATCH -next] intel-iommu: fix a variable set but not used

From: Joerg Roedel
Date: Mon Jun 03 2019 - 06:02:37 EST


On Fri, May 31, 2019 at 04:16:02PM -0400, Qian Cai wrote:
> 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@xxxxxx>
> ---
> drivers/iommu/intel-iommu.c | 4 ----
> 1 file changed, 4 deletions(-)

Applied, thanks.