linux/drivers/gpu/drm/amd
Kent Russell ab7c164867 drm/amdkfd: Fix goto usage v2
Remove gotos that do not feature any common cleanup, and use gotos
instead of repeating cleanup commands.

According to kernel.org: "The goto statement comes in handy when a
function exits from multiple locations and some common work such as
cleanup has to be done. If there is no cleanup needed then just return
directly."

v2: Applied review suggestions in create_queue_nocpsch

Signed-off-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2017-08-15 23:00:07 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdkfd: Clean up KFD style errors and warnings v2 2017-08-15 23:00:04 -04:00
amdkfd drm/amdkfd: Fix goto usage v2 2017-08-15 23:00:07 -04:00
include Merge branch 'drm-next-4.14' of git://people.freedesktop.org/~agd5f/linux into drm-next 2017-08-02 12:43:12 +10:00
powerplay drm/amd/powerplay: fix coding style in hwmgr.c 2017-08-15 14:46:18 -04:00
scheduler drm/amd/sched: print sched job id in amd_sched_job trace 2017-07-14 11:06:00 -04:00