winsys/amdgpu: clean up error paths in amdgpu_winsys_create
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 6 Sep 2016 13:10:06 +0000 (15:10 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 12 Sep 2016 11:54:53 +0000 (13:54 +0200)
commit9fb8d354cafd080e1616f5bd5e2f50b43c0d820f
treebc658c423acd4c4c73f5e7cf929873afbecb7c5b
parenta6c38d47d422f66e4ba17f15144f68c574080b17
winsys/amdgpu: clean up error paths in amdgpu_winsys_create

No need to call pb_cache_deinit, because the cache hasn't been initialized
at that point.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_winsys.c