[PATCH] drm/i915/gt: remove redundant assignment to variable dw

Chris Wilson chris at chris-wilson.co.uk
Sat Feb 22 14:42:19 UTC 2020


Quoting Colin King (2020-02-22 13:47:55)
> From: Colin Ian King <colin.king at canonical.com>
> 
> Variable dw is being initialized with a value that is never read,
> it is assigned a new value later on. The assignment is redundant
> and can be removed.
> 
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the dri-devel mailing list