Module Name:    xsrc
Committed By:   christos
Date:           Tue Mar  7 16:28:42 UTC 2017

Modified Files:
        xsrc/external/mit/libdrm/dist: libsync.h

Log Message:
we don't need both memset and 0


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libdrm/dist/libsync.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libdrm/dist/libsync.h
diff -u xsrc/external/mit/libdrm/dist/libsync.h:1.2 xsrc/external/mit/libdrm/dist/libsync.h:1.3
--- xsrc/external/mit/libdrm/dist/libsync.h:1.2	Tue Mar  7 11:23:20 2017
+++ xsrc/external/mit/libdrm/dist/libsync.h	Tue Mar  7 11:28:42 2017
@@ -63,7 +63,6 @@ static inline int sync_wait(int fd, int 
 	struct pollfd fds;
 	int ret;
 
-	memset(&fds, 0, sizeof(fds));
 	fds.fd = fd;
 	fds.events = POLLIN;
 	fds.revents = 0;

Reply via email to