drm/i915/selftests: remove a condition

We know that "err" is non-zero so there is no need to check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213105050.y2v5nylsuxvc44jj@kili.mountain
This commit is contained in:
Dan Carpenter 2019-12-13 13:50:50 +03:00 committed by Chris Wilson
parent 8c8a854d6f
commit 86ca2bf2f9
1 changed files with 1 additions and 2 deletions

View File

@ -1086,7 +1086,6 @@ static int __live_parallel_engine1(void *arg)
rq = i915_request_create(engine->kernel_context);
if (IS_ERR(rq)) {
err = PTR_ERR(rq);
if (err)
break;
}