[Intel-gfx] [PATCH] drm/i915: remove redundant assignment to variable err

Chris Wilson chris at chris-wilson.co.uk
Thu Apr 9 19:19:27 UTC 2020


Quoting Colin King (2020-04-09 14:31:07)
> From: Colin Ian King <colin.king at canonical.com>
> 
> The variable err is being initialized with a value that is never read
> and it is being updated later with a new value.  The initialization is
> redundant and can be removed.
> 
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>

Could be useful... No, let's not look at that function again.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list