mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 07:35:14 +00:00
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:
parent
8c8a854d6f
commit
86ca2bf2f9
1 changed files with 1 additions and 2 deletions
|
@ -1086,8 +1086,7 @@ 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;
|
||||
break;
|
||||
}
|
||||
|
||||
i915_request_get(rq);
|
||||
|
|
Loading…
Reference in a new issue