drm/amdkfd: Fix return value 0 when execute_queues_cpsch fails

Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
Yong Zhao 2018-01-02 13:10:49 -05:00 committed by Oded Gabbay
parent 9be712ef46
commit 9e8272240b

View File

@ -1033,7 +1033,7 @@ static int destroy_queue_cpsch(struct device_queue_manager *dqm,
mutex_unlock(&dqm->lock);
return 0;
return retval;
failed:
failed_try_destroy_debugged_queue: