]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdgpu: use error label to handle exceptional case
authorHuang Rui <ray.huang@amd.com>
Wed, 7 Sep 2016 12:55:42 +0000 (20:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Sep 2016 19:10:32 +0000 (15:10 -0400)
commite9d035eca476cc6ee395d55adf8b64c7150201e2
tree604749d42df2569fb06321edcac6d1fbcea6bb59
parent441f90ecf59e089d234ff3feea98de10779a048b
drm/amdgpu: use error label to handle exceptional case

Use error label to decrease global item unref and make codes more
readable.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c