[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190527100327.GC8420@8bytes.org>
Date: Mon, 27 May 2019 12:03:27 +0200
From: Joerg Roedel <joro@...tes.org>
To: Colin King <colin.king@...onical.com>
Cc: iommu@...ts.linux-foundation.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu/amd: remove redundant assignment to variable npages
On Sat, May 11, 2019 at 01:41:35PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable npages is being initialized however this is never read and
> later it is being reassigned to a new value. The initialization is
> redundant and hence can be removed.
>
> Addresses-Coverity: ("Unused Value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/iommu/amd_iommu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Powered by blists - more mailing lists