Re: [PATCH] drm/i915/selftests: Remove redundant code

From: Chris Wilson
Date: Mon Jul 16 2018 - 08:48:03 EST


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