lkml.org 
[lkml]   [2020]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/1] iommu/vt-d: Remove set but not used variable
Date
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

\
 
 \ /
  Last update: 2020-11-27 11:00    [W:0.046 / U:0.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site