[PATCH weston] simple-shm: remove an unnecessary call of wl_display_get_fd()

Ryo Munakata ryomnktml at gmail.com
Tue Aug 26 05:59:41 PDT 2014


---
 clients/simple-shm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/clients/simple-shm.c b/clients/simple-shm.c
index b1c311f..c1cb386 100644
--- a/clients/simple-shm.c
+++ b/clients/simple-shm.c
@@ -393,8 +393,6 @@ create_display(void)
 		exit(1);
 	}
 
-	wl_display_get_fd(display->display);
-	
 	return display;
 }
 
-- 
2.1.0



More information about the wayland-devel mailing list