From: Daniele Ceraolo Spurio Date: Mon, 22 Oct 2018 23:04:26 +0000 (-0700) Subject: drm/i915/guc: remove unneeded goto from selftest X-Git-Tag: v5.4-rc1~1388^2~28^2~445 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42e90a687e76e8e0613a6e6e552d9ab239ee9b3f;p=platform%2Fkernel%2Flinux-rpi.git 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 Cc: Lucas De Marchi Cc: Michal Wajdeczko Signed-off-by: Daniele Ceraolo Spurio Reviewed-by: Lucas De Marchi Signed-off-by: Chris Wilson Link: https://patchwork.freedesktop.org/patch/msgid/20181022230427.5616-5-daniele.ceraolospurio@intel.com --- diff --git a/drivers/gpu/drm/i915/selftests/intel_guc.c b/drivers/gpu/drm/i915/selftests/intel_guc.c index 464f7d5..32cba4c 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: /*