diff --git a/xf86drm.c b/xf86drm.c index 2ac3f265..879f85b6 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -866,8 +866,6 @@ drmVersionPtr drmGetVersion(int fd) drmVersionPtr retval; drm_version_t *version = drmMalloc(sizeof(*version)); - memclear(*version); - if (drmIoctl(fd, DRM_IOCTL_VERSION, version)) { drmFreeKernelVersion(version); return NULL;