[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6a08e3ea-572d-442b-9b58-7da0b0ad212e@linux.intel.com>
Date: Wed, 24 Apr 2024 11:45:51 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Colin Ian King <colin.i.king@...il.com>,
David Woodhouse <dwmw2@...radead.org>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>,
iommu@...ts.linux.dev
Cc: baolu.lu@...ux.intel.com, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] iommu/vt-d: remove redundant assignment to variable
err
On 4/11/24 5:05 PM, Colin Ian King wrote:
> Variable err is being assigned a value that is never read. It is
> either being re-assigned later on error exit paths, or never referenced
> on the non-error path.
>
> Cleans up clang scan build warning:
> drivers/iommu/intel/dmar.c:1070:2: warning: Value stored to 'err' is
> never read [deadcode.DeadStores]`
>
> Signed-off-by: Colin Ian King<colin.i.king@...il.com>
> ---
> drivers/iommu/intel/dmar.c | 1 -
> 1 file changed, 1 deletion(-)
Patch has been queued for iommu/vt-d.
Best regards,
baolu
Powered by blists - more mailing lists