[Intel-gfx] [PATCH] drm/i915/selftests: Remove redundant code

Chris Wilson chris at chris-wilson.co.uk
Mon Jul 16 12:47:31 UTC 2018


Quoting Gustavo A. R. Silva (2018-07-16 13:39:33)
> err is assigned to -EIO, but this value is never actually
> used and *err* is updated later on.
> 
> Remove such reduntant code.

The mistake is that err is lost, possible masking the test failure.
Looks like the unwind needs to be refactored?
-Chris


More information about the Intel-gfx mailing list