[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200513084030.GB9820@8bytes.org>
Date: Wed, 13 May 2020 10:40:30 +0200
From: Joerg Roedel <joro@...tes.org>
To: Qian Cai <cai@....pw>
Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] iommu/amd: fix variable "iommu" set but not used
On Fri, May 08, 2020 at 09:56:45PM -0400, Qian Cai wrote:
> The commit dce8d6964ebd ("iommu/amd: Convert to probe/release_device()
> call-backs") introduced an unused variable,
>
> drivers/iommu/amd_iommu.c: In function 'amd_iommu_uninit_device':
> drivers/iommu/amd_iommu.c:422:20: warning: variable 'iommu' set but not
> used [-Wunused-but-set-variable]
> struct amd_iommu *iommu;
> ^~~~~
>
> Signed-off-by: Qian Cai <cai@....pw>
> ---
> drivers/iommu/amd_iommu.c | 3 ---
> 1 file changed, 3 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists