Re: [PATCH 1/1] iommu/vt-d: Remove set but not used variable

From: Will Deacon
Date: Fri Nov 27 2020 - 04:58:08 EST


On Fri, 27 Nov 2020 09:33:08 +0800, Lu Baolu wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/iommu/intel/iommu.c:5643:27: warning: variable 'last_pfn' set but not used [-Wunused-but-set-variable]
> 5643 | unsigned long start_pfn, last_pfn;
> | ^~~~~~~~
>
> This variable is never used, so remove it.

Applied to arm64 (for-next/iommu/vt-d), thanks!

[1/1] iommu/vt-d: Remove set but not used variable
https://git.kernel.org/arm64/c/405a43cc0047

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev