From bb7a87031735e64481822c177f7b6316c895fe2c Mon Sep 17 00:00:00 2001 From: "joonbum.ko" Date: Tue, 12 Dec 2017 11:40:39 +0900 Subject: [PATCH] wsi: Removed unnecessary referencing. Change-Id: Ie5d1971ac546ebc9de4286edfb0cdc430eb03493 Signed-off-by: joonbum.ko --- src/wsi/wsi.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/wsi/wsi.h b/src/wsi/wsi.h index 814391a..0171af6 100644 --- a/src/wsi/wsi.h +++ b/src/wsi/wsi.h @@ -199,9 +199,6 @@ vk_get_tpl_display(VkIcdSurfaceBase *sfc) if (display == NULL) display = tpl_display_create(type, native_dpy); - if (display != NULL) - tpl_object_reference((tpl_object_t *)display); - return display; }; -- 2.7.4