Re: [PATCH] iommu/intel: remove an unused variable "length"
From: Joerg Roedel
Date: Tue Jun 18 2019 - 11:36:04 EST
On Mon, Jun 17, 2019 at 09:20:27AM -0400, Qian Cai wrote:
> The linux-next commit "iommu/vt-d: Duplicate iommu_resv_region objects
> per device list" [1] left out an unused variable,
>
> drivers/iommu/intel-iommu.c: In function 'dmar_parse_one_rmrr':
> drivers/iommu/intel-iommu.c:4014:9: warning: variable 'length' set but
> not used [-Wunused-but-set-variable]
>
> [1] https://lore.kernel.org/patchwork/patch/1083073/
>
> Signed-off-by: Qian Cai <cai@xxxxxx>
> ---
> drivers/iommu/intel-iommu.c | 3 ---
> 1 file changed, 3 deletions(-)
Applied, thanks.