diff options
author | Daniele Ceraolo Spurio <[email protected]> | 2018-10-22 16:04:26 -0700 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-10-23 09:42:25 +0100 |
commit | 42e90a687e76e8e0613a6e6e552d9ab239ee9b3f (patch) | |
tree | d5f3c859e2013602c5cedfe67e9cd7b677ca0d82 | |
parent | caef29cd072de3d33dc91258879201e9579d3c79 (diff) |
drm/i915/guc: remove unneeded goto from selftest
commit e346a991f42c ("drm/i915/guc: drop negative doorbell alloc
selftest") removed the negative case from the selftest and left no
code between the goto from the positive case of the test and the label
itself, so we can get rid of it.
Reported-by: Lucas De Marchi <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/i915/selftests/intel_guc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/selftests/intel_guc.c b/drivers/gpu/drm/i915/selftests/intel_guc.c index 464f7d5defad..32cba4cae31a 100644 --- a/drivers/gpu/drm/i915/selftests/intel_guc.c +++ b/drivers/gpu/drm/i915/selftests/intel_guc.c @@ -214,8 +214,6 @@ static int igt_guc_clients(void *args) * client it is currently assigned should not cause a failure. */ err = create_doorbell(guc->execbuf_client); - if (err) - goto out; out: /* |