Commit 86ca2bf2 authored by Dan Carpenter's avatar Dan Carpenter Committed by Chris Wilson

drm/i915/selftests: remove a condition

We know that "err" is non-zero so there is no need to check.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213105050.y2v5nylsuxvc44jj@kili.mountain
parent 8c8a854d
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment