Re: [PATCH] iommu: remove redundant assignment to variable agaw

From: Lu Baolu
Date: Wed Jun 09 2021 - 03:39:03 EST


On 4/17/21 1:18 AM, Colin King wrote:
From: Colin Ian King<colin.king@xxxxxxxxxxxxx>

The variable agaw is initialized with a value that is never
read and it is being updated later with a new value as a
counter in a for-loop. The initialization is redundant and
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King<colin.king@xxxxxxxxxxxxx>

Queued for v5.14. Thanks!

Best regards,
baolu